Small request on php_sybase_fetch_hash()
| From: | Chris Newbill | Date: | Thu, 30 Nov 2000 20:06:53 +0000 |
| Subject: | Small request on php_sybase_fetch_hash() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39724@lists.php.net to get a copy of this message | ||
I for the life of me cannot seem to get php_sybase_fetch_hash() to accept a
second parameter(and use it properly) so that it will operate like
php_mysql_fetch_hash(). i.e. accept MYSQL_ASSOC, MYSQL_NUM, so I don't have
to take both. I don't really program in C and I'd like to avoid having to
use my little PHP hack to get this effect.
if (MSSQL_HACK == 1) {
// ASSOCIATIVE only hack
krsort($row);
$row = array_slice($row,(Count($row)/2));
}
I'll continue to bang away on, just wondering if anybody could help.
Thanks,
Chris Newbill