Russell P Jones wrote:
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


This will get you started: mysql_query('DESCRIBE table_name');

Please don't hijack threads.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to