RE: [PHP-WIN] How do I access a mysql result array?
| From: | HKG) | Date: | Mon, 09 Dec 2002 11:35:38 +0000 |
| Subject: | RE: [PHP-WIN] How do I access a mysql result array? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17356@lists.php.net to get a copy of this message | ||
Result sets are row based, not column based. Hence you need to
itterate through the entire resultset and load it into a index
array of proper type in order to do that.
-----Original Message-----
From: Matt Babineau
To: php-windows@lists.php.net
Sent: 9-12-02 2:17
Subject: [PHP-WIN] How do I access a mysql result array?
How can I access a mysql result array numerically?
Like:
$result[0][0];
$result[1][0];
I want to be able to access one whole column at a time.
Any ideas?
Thx-
Matt
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php