[snip] 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 [/snip] If the query executes it will return TRUE for $person, so if(!$person) would read IF THE QUERY IS NOT TRUE if($person) would read IF THE QUERY IS TRUE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php