Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\PHP Site\test.php on line 34
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\PHP Site\test.php on line 35
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\PHP Site\test.php on line 38
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\PHP Site\test.php on line 39
line 34: $result = mysql_query('show database', $link);
line 35: echo mysql_result($result,0);
line 36:
line 37: @mysql_select_db($database) or die( "Unable to select database");
line 38: $result = mysql_query('show tables', $link);
line 39: echo mysql_result($result,0);
Is the way I'm echoing the result incorrect or what?