1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by sort asc, sort asc, name asc' at line 1
select id,name,price1,pricenum1,keyw,UNIX_TIMESTAMP(actiondate) from items where baza=42 and itemtype=0 and active=0 and (catid=) order by sort asc, sort asc, name asc |