Re: Does PHP have an end-of-file problem.



you have fetched result twice.
that's why your first line is hidden.
it's taken out by the first $row;

fine and comment this line

#$row = mysql_fetch_array($result);
$name = ucfirst($name);
.