I am trying too learn PHP, and I made a simple script. However, when I try to use the code
while($row = mysql_fetch_array($result))
to show a list of rows in a certain column of a table, I get this warning:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /path/to/script.php on line 16