Re: ibase_num_fields() -a workaround ?
| From: | Meir Kriheli - MKsoft | Date: | Sun, 21 Jan 2001 15:51:19 +0000 |
| Subject: | Re: ibase_num_fields() -a workaround ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35900@lists.php.net to get a copy of this message | ||
Hi
ibase_num_fields returns the column count of the result,
not the row count !
Meir Kriheli
MKsoft computer systems
'There's someone in my head but it's not me" - Pink Floyd
----- Original Message -----
From: <mwaples@waples.net>
To: <php-general@lists.php.net>
Sent: Saturday, January 20, 2001 7:01 AM
Subject: [PHP] ibase_num_fields() -a workaround ?
> ibase_num_fields() isn't functional in php 4 - anyone have any ideas to
> work around this ?
>
> I'm checking the number of results for a query to check if a
> user/password is correct -I suppose I could just do a fetch_row() on the
> result and test if thats empty or not - but I'll only do that as a last
> resort