I\'d like to get all of a mysql table\'s col names into an array in php?
Is there a query for this?
I have tried this query in SQL Server and this worked for me :
SELECT name FROM sys.columns WHERE OBJECT_ID = OBJECT_ID('table_name')