> -----Original Message----- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 29, 2003 2:48 PM > To: Mike At Spy; [EMAIL PROTECTED] > Subject: RE: [PHP] Bizarre SQl, if issue.... > > > [snip] > I did! Look at this again: > > $which_person = mysql_query("SELECT ID FROM tblItems WHERE number = > $place"); > > $vthere = mysql_num_rows($which_person); > > if ($vthere == '0') { True } else { False } > > Yet it still returns as if this is FALSE (i.e. it executes the else {}. > :\ > [/snip] > > try .... > > if ($vthere == 0) { True } else { False }
Same result (actually, that was the first statement I tried). :\ -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php