Ok I just tried it but I got this error....
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/showtime/public_html/Database/test.php3 on line 37
Here is the code I used.. can someone tell me where I went wrong.
<html>
<body>
<?php
$db = mysql_connect("localhost", "****", "****");
mysql_select_db("showtime_student",$db);
$result = mysql_query("SELECT * FROM HS WHERE state=Georgia",$db);
echo "<table border=1>\n";
echo "<tr><td>Name</td><td>Email</td><td>Instrument</td><td>Class of</tr>\n";
while ($myrow = mysql_fetch_row($result)) {
printf("<tr><td>%s %s</td><td>%s</td><td>%s</td><td>%s</tr>\n",
$myrow[1], $myrow[2], $myrow[4], $myrow[5], $myrow[6]);
}
echo "</table>\n";
?>
</body>
</html>