How do I get column names from a given MySQL table?
<p>How do I get the column names of a table into a PHP array using the mysqli extension? I need to fetch the column names of any given table without fetching any data from the table.</p>