|
The only characters that need to be replaced are " ' \ and NULL characters. On my site I use
$string = str_replace("\","\\",$string);
$string = str_replace(""","\"",$string);
$string = str_replace("'","\'",$string);
although it's not perfect, it gets the job done.
__________________
--
Jason Jones
DAZ3D Webmaster
|