Hello, I have a newbie question for you.
I do a query, I'd like to display the result but I'd like to go to a new
line for each row.
I use this code that's work :
<?php
for ($i = 0; $i<mysql_num_rows($result); $i++)
{
echo mysql_result($result,$i, "NAME");
}
?>
but this not work
<?php
for ($i = 0; $i<mysql_num_rows($result); $i++)
{
echo mysql_result($result,$i, "NAME");<br>
}
?>
Could you tell me how I can do to have a <br> after each row.
Thanks for your help :)
Bye

