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

From: Date: Tue, 29 Jul 2003 18:18:58 +0000
Subject: RE: [PHP] Bizarre SQl, if issue....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157366@lists.php.net to get a copy of this message
> [snip] > Off hand, I would agree. And that is what I would expect. > > However, the *exact* same setup on a different server gives me a result > of > 'FALSE' properly. The other server has php 4.3.3 on it - the one giving > the > improper response has php 4.1.2. $which_person = mysql_query("SELECT ID FROM tblItems WHERE number = $place"); $vthere = mysql_num_rows($which_person); if ($vthere == '0') { True } else { False } What should this return? True or False? -Mike

« previous php.general (#157366) next »