Replace ampersand with XHTML equivalent
List posts in the topic
Replace ampersand with XHTML equivalent
msg# 1
Is there a safe way of using str_replace or preg_replace to replace the "&" (ampersand) so commonly used in peoples news feed titles with the XHTML compliant &a mp; [space added to prevent parsing]?
Thanks!
James
Votes:15
Average:1.33
Posts tree