Problems with diplaying all records

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
what is the exact problem ... ? you are shown only 1 record .. ?

Code:
while ($row = mysql_fetch_object($res))
{
    echo $row->filed_name;
}

above will never show 1 record, unless there is just 1 record in the resultset
 
Back
Top