Fehlermeldung:
Warning: Supplied argument is not a valid MySQL result resource in /var/www/freischalten.php on line 7
Quellcode:
Warning: Supplied argument is not a valid MySQL result resource in /var/www/freischalten.php on line 7
Quellcode:
PHP-Code:
$user_name = $_GET["user"];
$pass = $_GET["pw"];
$ipquery = mysql_query("SELECT user_id, pass FROM user WHERE user_name='$user_name' LIMIT 1");
$pwcheck = mysql_fetch_array($ipquery); // Line 7
$rightpw = $pwcheck[1];
$user_id = $pwcheck[0];
Kommentar