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 '?osCsid=979uc50fm10drddaeja2ne1av4) order by m.tipo , products_name' at line 1

select count(p.products_id) as total from products p, manufacturers m, products_description pd, products_to_categories pc where p.manufacturers_id=m.manufacturers_id and pd.products_id=p.products_id and pc.products_id = p.products_id and products_status=1 and (pc.categories_id = 12?osCsid=979uc50fm10drddaeja2ne1av4) order by m.tipo , products_name

[TEP STOP]