Re: ibase_fetch_row
| From: | Mauricio Junqueira | Date: | Fri, 03 Nov 2000 04:06:59 +0000 |
| Subject: | Re: ibase_fetch_row | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4168@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to use ibase_fetch_row to get the result of a previous ibase_query.
as: $q = ibase_query($query);
$r = ibase_fetch_row($q);
but when I try to get the results from $r, as in $userid = $r[0], I got a null
value.
Everything looks like no value was returned but when I verify my database, it
shows me that
there was no problem...
Am I using the right technique with ibase_fetch_row ?
Marco Canini wrote:
> What's supposed to do ibase_fetch_row?
>
> I think it returns an associative array with columns name for keys as others
> ***_fetch_row functions.
>
> Why it isn't so?
>
> With array_keys I see that $row = ibase_fetch....
> is not an associative array.
>
> Now, I use a trick by recreating the associative array with the help of
> ibase_field_info, an undocumented function.
>
> Do somebody have the same trouble, and another solution?
>
> MC
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net