Get Column Names for mySQL...
| From: | Russell P Jones | Date: | Sun, 06 Jun 2004 21:02:15 +0000 |
| Subject: | Get Column Names for mySQL... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187750@lists.php.net to get a copy of this message | ||
How would one cycle through and get all of the column names in a mysql
table?
say that i have...
id | title | name | description
1 | MR. | russ | age XX height XX
2 | MRS. | jan | age XX height XXX
and I want to print out the 4 column names...
how would one accomplish this?
Russ