What\'s wrong with my code? I keep getting this error: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in functions.php on line 4 error readin
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in functions.php on line 4 error readin
$db is not a local variable inside function gameTableCheck, you need to add a global $db; statement at the top of the function.
$db
gameTableCheck
global $db;