hello,
I've built a script to create an xml page all works fine except some of my enteries have characters which cause problems with displaying the page: i've added a string replacement script but now realized this is not plausable nor efficant... is there a better way to do this:
current script below: text entry is colored red
$xml .= "<item>\r\n";
$remove = array("rsquo","ldquo","rdquo","lsquo");
$entry = str_replace($remove,"quot","$row3->entry");
$entry2 = str_replace("£","£","$entry");
$xml .= "$entry2";
$xml .= "</item>\r\n";
thank you. garteh