RE: [PHP] Bizarre SQl, if issue....
| From: | Mike At Spy | Date: | Tue, 29 Jul 2003 19:04:44 +0000 |
| Subject: | RE: [PHP] Bizarre SQl, if issue.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157393@lists.php.net to get a copy of this message | ||
> [snip]
> if ($vthere == '0') { True } else { False }
>
> ....
>
> > if ($vthere == 0) { True } else { False }
>
>
> Same result (actually, that was the first statement I tried). :\
> [/snip]
>
> Then the query is failing.
But the query returns no errors - both on my code I use to test errors and
the one you sent to me! :\
And when I plug values into the query at command line - values that would
return an empty set, it executes and returns an empty set.
:)
Thanks,
-Mike