View Single Post
Old 11-09-2008   #3
Toby
Fat Fucking Nobody
Respin bullshit press Your Comments Are Welcomed
 
Toby's Avatar
 
Join Date: Jul 2005
Location: Houston
Posts: 2,624
Default Re: PHP gurus...help please!

You could replace all the (') with (’) using the following on each datafield before it's added to the database.

Code:
$item1 = preg_replace("/'/","’",$item1);
But sarettah probably has a more eloquent solution.
Toby is offline   Reply With Quote