Re: supplied argument is not a valid

From: Date: Sat, 25 Sep 2004 05:13:16 +0000
Subject: Re: supplied argument is not a valid
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197811@lists.php.net to get a copy of this message
On Sat, 25 Sep 2004 01:01:13 -0400, John Taylor-Johnston <taylorjo@collegesherbrooke.qc.ca> wrote: > Hi, Hi, the error on the line line 101> while ($mydata2 = mysql_fetch_object($news2)) says that $news2 is null. The line $news2 = mysql_query($sql2); //desc => z-a probably didn't work. How about trying; $news2 = mysql_query($sql2); //desc => z-a print_r($news2); first and see it $news2 is indeed a valid resource. ---- ramil http://ramil.sagum.net

« previous php.general (#197811) next »