I\'d like to get all of a mysql table\'s col names into an array in php?
Is there a query for this?
The simplest solution out of all Answers:
DESC `table name`
or
DESCRIBE `table name`
SHOW COLUMNS FROM `table name`