🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #1013

php bad argument

#1013
From: Scorpio
Date: Wed, 01 Mar 2006 14:25
19 lines
1030 bytes
ik heb deze functie 

 function Level ($ctid)
  {
  $sql = "select * from $cat_tbl where catfatherid = $ctid order by catname 
";    
  $result = mysql_query ($sql);
  while ($row = mysql_fetch_array($result))
{
    print $row["catname"];
   print "</br>";
}
}



error : bad argument in mysql_fetch_array()

nooby
Technical Details
Message-ID: <Xns97799CF0A3A13mannonskynetbe@195.238.0.34>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!news2.euro.net!newshub3.home.nl!newshub1.home.nl!home.nl!skynet.be!newspost001!tjb!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,e528e9a1f4cffcb0,start
X-Google-Attributes: gidfcea4,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!news2.euro.net!newshub3.home.nl!newshub1.home.nl!home.nl!skynet.be!newspost001!tjb!not-for-mail
Newsgroups: be.comp.programming
Subject: php bad argument
From: Scorpio <nospam@isp.com>
Organization: Your Company
Message-ID: <Xns97799CF0A3A13mannonskynetbe@195.238.0.34>
User-Agent: Xnews/5.04.25
Date: 01 Mar 2006 14:25:21 GMT
Lines: 19
NNTP-Posting-Host: f8af694b.news.skynet.be
X-Trace: 1141223121 news.skynet.be 1162 81.240.200.156:1977
X-Complaints-To: usenet-abuse@skynet.be