[PHP] dealing with no record

2001-03-04 Thread [EMAIL PROTECTED]
People If I run a sniplet like this: ** $query="select name from foo"; $result= mysql_query($query); while($row = mysql_fetch_row($result)) stuff...to display record found ... *** what am I suppose to do if I also want the code to be able to de

Re: [PHP] dealing with no record

2001-03-04 Thread David Robley
On Tue, 6 Mar 2001 06:36, [EMAIL PROTECTED] wrote: > > People > If I run a sniplet like this: > > ** > $query="select name from foo"; > $result= mysql_query($query); > while($row = mysql_fetch_row($result)) > stuff...to display record found > ... > **

Re: [PHP] dealing with no record

2001-03-05 Thread Robert Vetter
"Jacky@lilst" wrote: > > People > If I run a sniplet like this: > > ** > $query="select name from foo"; > $result= mysql_query($query); > while($row = mysql_fetch_row($result)) > stuff...to display record found > ... > *** > what am I suppos