how to write while !eof
Posted: Sat Jan 10, 2004 1:28 pm
I want to retrieve data from database, how do i want to check
"while not eof"..
i'm using mysql_fetch_array($result);
"while not eof"..
i'm using mysql_fetch_array($result);
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
while($obj = mysql_fetch_object($result))
{
$customer = $obj->customer;
}