Quote:
Originally posted by Menno
Code:
$mysql_result = mysql_db_query("database", "select count(sessionid) from session", $mysql_link);
$numonline = mysql_fetch_array($mysql_result);
echo "$numonline";
Next time user the seach.
|
I tried testing the script provided above and it gave me this error!
Warning: Supplied argument is not a valid MySQL-Link resource in D:\Inetpub\wwwroot\forums\userstest.php on line 2
Warning: Supplied argument is not a valid MySQL result resource in D:\Inetpub\wwwroot\forums\userstest.php on line 3
Any ideas what the problem may be?