Re: How to display table columns
| From: | Andy Ladouceur | Date: | Mon, 26 Apr 2004 03:21:40 +0000 |
| Subject: | Re: How to display table columns | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34087@lists.php.net to get a copy of this message | ||
I think what you may be looking for is the DESCRIBE command. It allows you to get information about table columns.
http://dev.mysql.com/doc/mysql/en/DESCRIBE.html
Andy
Andy Amol wrote:
hi,
I want to display the table coulumns along with those values below it. I am only able to display the table values, now I want to diplay the corresponding table attribut above the value.
eg : name age sex
abc 1 m
xyz 2 f
I want to display name, age and sex.
I am using mysql as database.
thanks in advance.
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢