I want to retrieve data from database, how do i want to check
"while not eof"..
i'm using mysql_fetch_array($result);
how to write while !eof
Moderator: General Moderators
-
fastfingertips
- Forum Contributor
- Posts: 242
- Joined: Sun Dec 28, 2003 1:40 am
- Contact:
You can also get objects like this...
Code: Select all
while($obj = mysql_fetch_object($result))
{
$customer = $obj->customer;
}