Professional Documents
Culture Documents
10
11
12
while($row = mysql_fetch_row($result))
{
echo($row[1] . “<br/>”);
}
OR
while($row = mysql_fetch_assoc($result))
{
echo($row[‘name’] . “<br/>”);
}
OR
while($row = mysql_fetch_array($result))
{
echo($row[0] . “ ”. $row[‘name’] . “<br/>”);
}
?>
14