only assoc array returned in pg_fxn
| From: | Bernie Huang | Date: | Mon, 06 Nov 2000 18:59:16 +0000 |
| Subject: | only assoc array returned in pg_fxn | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4251@lists.php.net to get a copy of this message | ||
hi,
is there any function in php that returns only assoc_array from a postgres database. pg_fetch_array returns both numeric indexed array and assoc_array together. (eg; $row = array ( 0=>"test0", "key0"=>"test0", 1=>"test1", "key1"=>"test1", ...); )
Is there a way to return only the assoc array or to extract assoc array from $row returned by pg_fetch_array??
Thank you.
- Bernie
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at http://profiles.msn.com.