Warning: mysql_result() is not a valid MySQL result resource

  • Hallo,

    Zitat

    Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /users/xxxxxx/www/login.php on line 15

    PHP
    include ('dbconnectforum.php');
    
    $abfrage1 = "SELECT username, user_password FROM phpbb_users";
    $usernamedb = mysql_result($abfrage1, 0, 'username');
    
    $abfrage2 = "SELECT username, user_password FROM phpbb_users";
    $passwortdb = mysql_result($abfrage2, 0, 'user_password');

    MySQL Error zeigt auch nicht mehr an :cry: