Re: pear DB and column names

From: Date: Wed, 18 May 2005 16:16:43 +0000
Subject: Re: pear DB and column names
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19260@lists.php.net to get a copy of this message
Anoop Bhat wrote: > 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) > Hi Take a look at the pear manual, http://pear.php.net/manual/en/package.database.db.db-common.tableinfo.php. Cheers, Jens

« previous php.pear.general (#19260) next »