$link variable
On page 114 (using the table.php) there is a query:
$result = mysql_query($query,$link) or die (mysql_eror());
What is the variable $link there for? When I try to run this code, I get
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\Program Files\Apache Group\Apache2\test\TMP27xkr2ypax.php on line 9
When I delete ,$link (and just leave $query there), it runs fine.
|