Is there a way to do a query and get all the names and datatypes of rows in a table? Then display them in an HTML table like this:
$total_loops = 0;
while ($field = mysql_fetch_array($result))
{
$total_loops += 1;
$value[$total_loops] = $field[0];
echo "<tr><td><font face=\"Arial\" size=\"3\"><b>display field value here</b></font></td>";
echo "<td><font face=\"Arial\" size=\"3\"><b>display field datatype here</b></font></td></tr>";
}
How can I get to the dataype?