Re: Code works in reverse order...
| From: | Jeremy Maziarz | Date: | Wed, 18 Jul 2001 17:44:50 +0000 |
| Subject: | Re: Code works in reverse order... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58483@lists.php.net to get a copy of this message | ||
Dhaval,
Without looking into this further, the one thing that stands out to me
(I am pretty sure) is the fact that mysql_num_rows() returns an int. So
testing for "" (empty string) is not going to work. Try instead:
...
if ($check != 0)
...
-Jeremy Maziarz
Email: jer2475@home.com