\r\n";
while ($line = mysql_fetch_array($query, MYSQL_ASSOC))
{
$count++;
if ($count == 1)
{
echo " \r\n";
foreach ($line as $key => $val)
{
echo " \r\n";
echo htmlentities($key);
echo " | \r\n";
}
echo "
\r\n";
}
foreach ($line as $val)
{
echo " \r\n";
echo " \r\n";
echo htmlentities($val);
echo " | \r\n";
echo "
\r\n";
}
}
echo "\r\n";
echo "".mysql_num_rows($query)." rows in set
";
}
}
?>