Mysql forgot first row - HELP ME!

admin

Administrator
Staff member
After take recordser with
$rs = mysql_fetch_array($dados) i want print all rows with
while ($rs = mysql_fetch_array($dados)) {
print $rs['name'];
} else {
print "No records!!";
}

and result is without the first row (or first name), the recordset have 2 names 'Julio' and 'Mike' and the result is:

Mike

without Julio the firstname or firstrow, if i print the result of mysql_num_rows($dados) the result is 2.

If someone know whta is happen please help me

Thanks
Julio
 
Back
Top