> [snip]
> > $person = mysql_query("The Query");
> > $thecount = mysql_num_rows($person);
> > echo "$thecount \n";
> >
> > And tell us what $thecount is...
>
> Returns 0 (zero).
> [/snip]
>
> Then
> if($thecount == 0){
>    $whatever = 1;
> } else {
>    $whatever = 4;
> }
>
> $whatever should be 1

But that is my point - and I think we are going in circles now.  It just
doesn't do that.  It returns 4 (as per your example). :\

-Mike




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to