Réf. : [PEAR] pear DB and column names
| From: | Sylvain Gourvil | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Réf. : [PEAR] pear DB and column names | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19259@lists.php.net to get a copy of this message | ||
Just have a look in PEAR DB documentation. There is the method "tableInfo()
that you can use on a DB Result.
-------Message original-------
De : Anoop Bhat
Date : 05/18/05 17:51:17
A : pear-general@lists.php.net
Sujet : [PEAR] pear DB and column names
Is there any way to get the column names from a query?
like mysql_field_name.
The db i'm using is infact mysql but i haven't seen a function where i
can get the column names from the result of a query.
is there some way to get the column names with pear DB?
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)
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php