I have user submitted articles on my site. Most of the time they are copied from MS Word and have code such as “, ‘ and , in it. XHTML doesn't like these. Is there any way tor eplace them? I tried this but it isn't working: $article = str_replace("“", "\"", $article);
OE Design - Web Design Gold Coast Webmaster Help | Webmaster Resources Developer Tools | Developer Tutorials | String Quartet Brisbane
Try single quotes around the stuff you'd like replaced instead.
Forum Rules
Bookmarks