Chapter 13-index.php issue
When I run the index.php file in my browser I get the following error:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in .../index.php on line 9
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in .../index.php on line 11
the code on line nine is:
$result = mysql_query($sql, $conn);
and the code on line eleven is:
if (mysql_num_rows($result) == 0) {
|