Re: Where to handle no results
| From: | David Robley | Date: | Tue, 04 Jul 2000 05:15:22 +0000 |
| Subject: | Re: Where to handle no results | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4684@lists.php.net to get a copy of this message | ||
On 4 Jul, Digital Hit Entertainment wrote:
>> if($numrows != 0):
>> do wonderful things
>> endif;
>
> Strangely, that didn't work for me either. I ended up just checking for
> one of the fields and if that returned something I did the full query:
I'm a little baffled that it would not work; assuming of course that
$numrows is the value resulting from a COUNT(*) query, as I _hope_ I
originally proposed. (Looks in sentmail - Yep)
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA