Error in Selection Query
select * from tbl_horse where (Hor_Title Like '%'01 Reg. Thoroughbred Gelding Dressage/Hunter/Eventing%' or Hor_Breed='105' or Hor_Color='33' or Hor_Sex='5') and Hor_Status=1 order by Hor_Postdate desc
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 '01 Reg. Thoroughbred Gelding Dressage/Hunter/Eventing%' or Hor_Breed='105' or Ho' at line 1