Return to Snippet

Revision: 10035
at December 4, 2008 11:07 by calvin


Initial Code
function xmlSafe($input)
{
	return str_replace(array('&','\'','"','<','>'),array('&amp;','&apos;','&quot;','&lt;','&gt;'),$input);
}

Initial URL

                                

Initial Description

                                

Initial Title
XML safe characters

Initial Tags
xml

Initial Language
PHP