Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Siuntiniu kategorijos matomos visiems o ...

Parašė ramon· 2008 Rugp. 16 18:08:45
#14

Kzn tiesiog is akies sakau kur galetu buti klaida:

sita eilute:
if ($data = dbarray(dbquery("SELECT download_url,download_cat FROM ".$db_prefix."downloads WHERE download_id='$download_id' AND download_cat='2' OR download_cat='3' OR download_cat='5'")))




keiciam i sita :
if ($data = dbarray(dbquery("SELECT download_url,download_cat FROM ".$db_prefix."downloads WHERE download_id='$download_id' AND download_cat='2' AND download_cat='3' AND download_cat='5'")))