Hello , when attempting to preform this php code , i am getting a error that says
ID resorce # 9
Can anyone help me with this?
$username = $_GET['username'];
$check = ("SELECT id FROM shocc_users WHERE username='$username'");
$result = mysql_query($check) or die (mysql_error());
echo $result; // to test if result was found