I have been looking all over the place for how to dump all the column names in a SQL table into a PHP array. Unfortunately all the information I have dug up no longer works with PHP 5.5 ( depreciated ) .
Does any one have a WORKING code example that can grab all the column names and dump into an array in PHP ?
$sql = mysqli_connect("127.0.0.1","root","","players");
$table = "info";