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

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.