View Single Post
Old 11-09-2008   #5
sarettah
Stay Out Of The Box
Want to see your own Advertising Here!
 
sarettah's Avatar
 
Join Date: Oct 2002
Location: Lost in the ozone
Posts: 10,318
Default Re: PHP gurus...help please!

Quote:
Originally Posted by Toby View Post
You could replace all the (') with (’) using the following on each datafield before it's added to the database.

PHP Code:
$item1 = preg_replace("/'/","’",$item1); 
But sarettah probably has a more eloquent solution.
lol. no nothing more eloquent. But what all she needs to do depends on how the var is being treated prior to that.
__________________


Free Adult Webcams
sarettah is offline   Reply With Quote