pear DB and fetchRow()
| From: | Anoop Bhat | Date: | Mon, 16 May 2005 18:31:52 +0000 |
| Subject: | pear DB and fetchRow() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19238@lists.php.net to get a copy of this message | ||
with the fetchRow() method, is there a way to get it to return the column names as the array indexes.
ie:
$row = $result->fetchRow();
instead of using $row[0]...
can i use $row['COLUMN1'] ...
thanks
Anoop
This message contains information which may be confidential and privileged.
Unless you are the intended recipient (or authorized to receive this message
for the intended recipient), you may not use, copy, disseminate or disclose to
anyone the message or any information contained in the message. If you have
received the message in error, please advise the sender by reply e-mail, and
delete the message. Thank you very much.
(A)