PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1845
Number of posts: 5013

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I keep getting this error! Posted by camrating on 2 Dec 2004 at 12:45 PM
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 ?
Report
Re: I keep getting this error! Posted by Jonathan on 2 Dec 2004 at 1:10 PM
: 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.");

Report
Re: I keep getting this error! Posted by camrating on 2 Dec 2004 at 2:43 PM
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.");
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.