The followers of Noah:
";
$result = mysql_query($command, $connection);
function showResults($result) {
echo "\n";
while($row = mysql_fetch_array($result)) {
$numCols = mysql_num_fields($result);
echo '';
for ($i = 0; $i < $numCols; $i++) {
//echo "$row[$i]" . ', ';
echo '' . "$row[$i]" . ' | ';
}
echo "
\n";
}
echo "
";
}
showResults($result);
?>