Can anyone tell me why this:
  Line 282    mysql_select_db("centraldb",$db);
  Line 283    $qorder++; 
  Line 284    $result = mysql_query("SELECT q.questid, q.question, q.answer, q.qorder, 
q.depart, q.catid, 
        ,, q.adate,, q.authoremail, q.askemail, 
c.catid, c.category, c.under, 
                  c.corder, FROM central_groupfaqq q, central_groupfaqcat c 
WHERE = '1' AND 
         = '1' AND = '1' ORDER BY c.under, c.order, 
  Line 285    while ($myrow = mysql_fetch_row($result))

Would cause this error:
  Warning: Supplied argument is not a valid MySQL result resource in faqbody.php3 on 
line 285

When changing the same SELECT statement to:
  Line 284    $result = mysql_query("SELECT * FROM central_groupfaqq WHERE active = 

Works perfectly?

Keith Spiller
a.k.a. Larentium

Reply via email to