pgsql_fetch_object and numeric indices

From: Date: Sat, 05 May 2001 19:46:27 +0000
Subject: pgsql_fetch_object and numeric indices
Groups: php.db 
Request: Send a blank email to php-db+get-9132@lists.php.net to get a copy of this message
Hopefully someone can shed some insight on this question: When would someone want to index the result of pgsql_fetch_object numerically (by using PGSQL_NUM / PGSQL_BOTH as the 'result_type')? Beyond that, how does one access object properies as numbers, anyway? The PHP manual goes as far as to state that you can't access fields by their numeric offsets just after it tells you gow to retrieve the values in that form. Can someone with some clue educate me here? -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.db (#9132) next »