I\'d like to get all of a mysql table\'s col names into an array in php?
Is there a query for this?
Seems there are 2 ways:
DESCRIBE `tablename`
or
SHOW COLUMNS FROM `tablename`
More on DESCRIBE here: http://dev.mysql.com/doc/refman/5.0/en/describe.html
DESCRIBE