/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function xmlSafe($input) { return str_replace(array('&','\'','"','<','>'),array('&',''','"','<','>'),$input); }