sql 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 'OR realtor_fname LIKE '%lepage%')realtor_lname LIKE '%royal%', OR realtor_lname ' at line 1 SELECT COUNT(*) AS thits FROM realtors.realtors WHERE (realtor_fname LIKE '%royal%', OR realtor_fname LIKE '%lepage%')realtor_lname LIKE '%royal%', OR realtor_lname LIKE '%lepage%')realtor_city LIKE '%royal%', OR realtor_city LIKE '%lepage%')realtor_officename LIKE '%royal%', OR realtor_officename LIKE '%lepage%')realtor_comments LIKE '%royal%', OR realtor_comments LIKE '%lepage%')realtor_spec1 LIKE '%royal%', OR realtor_spec1 LIKE '%lepage%')realtor_spec2 LIKE '%royal%', OR realtor_spec2 LIKE '%lepage%')realtor_spec3 LIKE '%royal%', OR realtor_spec3 LIKE '%lepage%')realtor_spec4 LIKE '%royal%', OR realtor_spec4 LIKE '%lepage%')realtor_spec5 LIKE '%royal%', OR realtor_spec5 LIKE '%lepage%')realtor_spec6 LIKE '%royal%', OR realtor_spec6 LIKE '%lepage%')realtor_spec7 LIKE '%royal%', OR realtor_spec7 LIKE '%lepage%')realtor_spec8 LIKE '%royal%', OR realtor_spec8 LIKE '%lepage%')realtor_spec9 LIKE '%royal%', OR realtor_spec9 LIKE '%lepage%')realtor_spec10 LIKE '%royal%', OR realtor_spec10 LIKE '%lepage%')realtor_spec11 LIKE '%royal%', OR realtor_spec11 LIKE '%lepage%')realtor_spec12 LIKE '%royal%', OR realtor_spec12 LIKE '%lepage%')realtor_spec13 LIKE '%royal%', OR realtor_spec13 LIKE '%lepage%')realtor_spec14 LIKE '%royal%', OR realtor_spec14 LIKE '%lepage%')realtor_spec15 LIKE '%royal%', OR realtor_spec15 LIKE '%lepage%')realtor_spec16 LIKE '%royal%', OR realtor_spec16 LIKE '%lepage%')realtor_spec17 LIKE '%royal%', OR realtor_spec17 LIKE '%lepage%')realtor_spec18 LIKE '%royal%', OR realtor_spec18 LIKE '%lepage%')realtor_spec19 LIKE '%royal%', OR realtor_spec19 LIKE '%lepage%')realtor_spec20 LIKE '%royal%', OR realtor_spec20 LIKE '%lepage%')realtor_language1 LIKE '%royal%', OR realtor_language1 LIKE '%lepage%')realtor_language2 LIKE '%royal%', OR realtor_language2 LIKE '%lepage%')realtor_language3 LIKE '%royal%', OR realtor_language3 LIKE '%lepage%')) AND (realtor_rebid NOT LIKE 'OFFICE%' AND realtor_rebid NOT LIKE 'BUILD%' AND realtor_rebid NOT LIKE 'MORT%' AND realtor_rebid NOT LIKE 'FRAN%') AND realtor_display ='Y'