error 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 'AND p.status > 0 AND pt.project_id=p.id AND p.active=1 ORDER BY p.client,p.titl' at line 1
SELECT pt.project_id,pt.sub_type_id FROM project_to_type pt,project p WHERE pt.type_id= AND p.status > 0 AND pt.project_id=p.id AND p.active=1 ORDER BY p.client,p.title; KSS Architects
: :