ibase_fetch_row
| From: | Marco Canini | Date: | Fri, 15 Sep 2000 22:27:36 +0000 |
| Subject: | ibase_fetch_row | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33319@lists.php.net to get a copy of this message | ||
PHP 4.0.2
Linux
Why ibase_fetch_row doesn't return an associative array?
I think that it will possible by adding something like
add_assoc_stringl(return_value, var->aliasname, tmp->value.str.val,
tmp->value.str.len, 0 /* or 1 (I don't know) */);
instead of add_index_stringl in php-4.0.2/ext/interbase/interbase.c.
(Don't forget long and double datatypes)
Maybe I'm wrong, I just took a lock to php sources today.
Anyway I really need a solution.
Yes, I know, you're probably saying why I don't use ibase_fetch_object?
Because I'm trying to write a class for interbase support in phplib (I know
it's for php3 but works also under php 4).
They use ***_fetch_row that return associative arrays, so I need
ibase_fetch_row with an associative array.
Thanks
MC