[PHP-DEV] ibase_fetch_row From: Marco Canini (m.canini <email protected>)
Date: 09/15/00

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>