I know. I first tested for !$person but got the TRUE result when I should have received FALSE (empty set).
Why would that be? I added '0' and such just to see if I wasn't thinking straight..... :\ -Mike > -----Original Message----- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 29, 2003 1:44 PM > To: Jay Blanchard; Mike At Spy; [EMAIL PROTECTED] > Subject: RE: [PHP] Bizarre SQl, if issue.... > > > [snip] > > ...lots of stuff... > > [/snip] > > What I forgot to say is that basically you were testing for query > execution, not the number of rows returned from the database. If you > want to test the number of rows or some other result from the query you > have to go further. > > HTH! > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php