RE: [PHP] Bizarre SQl, if issue....

From: Date: Tue, 29 Jul 2003 19:13:47 +0000
Subject: RE: [PHP] Bizarre SQl, if issue....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157400@lists.php.net to get a copy of this message
Returns 0 (zero). -Mike > -----Original Message----- > From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com] > Sent: Tuesday, July 29, 2003 3:05 PM > To: Mike At Spy; php-general@lists.php.net > Subject: RE: [PHP] Bizarre SQl, if issue.... > > > [snip] > And when I plug values into the query at command line - values that > would > return an empty set, it executes and returns an empty set. > [/snip] > > If the query is returning an empty set the value of > mysql_num_rows($person) == 0 > > so > > $person = mysql_query("The Query"); > $thecount = mysql_num_rows($person); > echo "$thecount \n"; > > And tell us what $thecount is... > >

« previous php.general (#157400) next »