On Sat, 25 Sep 2004 01:01:13 -0400, John Taylor-Johnston
<[EMAIL PROTECTED]> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to