[PHP-DEV] Small request on php_sybase_fetch_hash() From: Chris Newbill (cnewbill <email protected>)
Date: 11/30/00

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