rocknbil - 4:29 pm on May 9, 2011 (gmt 0)
Go old school with it in a preg_replace.
$searchterm = preg_replace('/\'+/',"''",$searchterm);
$query = "select * from table where field='$searchterm'";
You may have to do a couple other things manually and encounter some conditional problems, but it works.