Re: end of file

From: Date: Fri, 29 Mar 2002 01:26:19 +0000
Subject: Re: end of file
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18050@lists.php.net to get a copy of this message
It's simple. The mysql_fetch_array($result) function will return a "false" value. example : if ( !mysql_fetch_array($result) ) { // Then do what u want } ----- Original Message ----- From: "Natividad Castro" <ncastro@cots.com> To: <php-db@lists.php.net> Sent: Friday, March 29, 2002 5:58 PM Subject: [PHP-DB] end of file > Hi to all, > how can I handle when the recordset reach the last record? > is it possible to use eof? > e.g. if there is no more record, "do something" > > Thanks in advanced > Nato > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.db (#18050) next »