I keep getting this error! - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

I keep getting this error!

camratingcamrating Posts: 7Member
http://www.helplive.net/phponline/test5.php is the URL:



Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/h/e/l/helplive/html/phponline/test5.php on line 55


anyone know ?

Comments

  • JonathanJonathan Posts: 2,914Member
    : http://www.helplive.net/phponline/test5.php is the URL:
    :
    :
    :
    : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/h/e/l/helplive/html/phponline/test5.php on line 55
    :
    :
    : anyone know ?
    :
    Probably because whatever you're passing to mysql_fetch_array came from an attempt to execute an invalid query. The problem may well be prior to this line.

    Jonathan

    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

  • camratingcamrating Posts: 7Member
    Hey Jonathan !

    Hmmm you could be right what comes before this is this ..

    $op = $_SESSION['operator'];
    echo ($op);
    $res = mysql_query("select * from online_users WHERE ACTIVE='Y' and userid='$op' and (now()-ts) < 240");
    //$res = mysql_query("select * from online_users WHERE ACTIVE='Y' and userid='$op' ");
    $i = 1;
    while ($row = mysql_fetch_array($res))


    thing is everything is set up table wise in the DB ....



    : : http://www.helplive.net/phponline/test5.php is the URL:
    : :
    : :
    : :
    : : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/h/e/l/helplive/html/phponline/test5.php on line 55
    : :
    : :
    Hey Jonathan -

    hmmmm that might be it ....I mean

    : : anyone know ?
    : :
    : Probably because whatever you're passing to mysql_fetch_array came from an attempt to execute an invalid query. The problem may well be prior to this line.
    :
    : Jonathan
    :
    : ###
    : for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    : (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    : /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
    :
    :

Sign In or Register to comment.