'.$title.'

'; // Get the table name from the URL $table = $_GET['table']; // Run the query to get the column info $sql = "SHOW COLUMNS FROM $table"; $result = run_query($sql); // Generate a table echo ''; echo ''; while ($row = $result->fetch_row()) { echo ''; foreach ($row as $value) { echo ''; } echo ''; } echo '
field namedata typenull?indexdefault value
'.$value.'
'; // Close the container div echo ''; echo_foot(); ?>