Error in Selection Query
select * from tbl_horse where (Hor_Title Like '%Donnybrook's Scarlett O'Hara%' or Hor_Breed='113' or Hor_Color='25' or Hor_Sex='31') 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 's Scarlett O'Hara%' or Hor_Breed='113' or Hor_Color='25' or Hor_Sex='31') and Ho' at line 1