Notice: Undefined offset: 0 in /home/card-et/card-et.ru/docs/modules/cat.php on line 12

Notice: Undefined offset: 0 in /home/card-et/card-et.ru/docs/modules/cat.php on line 13
SQL Error #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 '' at line 1
SQL :: {SELECT count(*) as col FROM tb_item WHERE subcat_id = }