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 1You 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 ranking desc, ca_name asc, ca_name_etc asc' at line 1
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 'OR b.ca_sen_id = 78<_id= OR c.ca_sen_id = 78<_id= OR d.ca_sen_id = 78<_id=
' at line 6