/ Published in: PHP
Expand |
Embed | Plain Text
function xmlSafe($input) { return str_replace(array('&','\'','"','<','>'),array('&',''','"','<','>'),$input); }
You need to login to post a comment.
calvin on 12/04/08
1 person have marked this snippet as a favorite
function xmlSafe($input) { return str_replace(array('&','\'','"','<','>'),array('&',''','"','<','>'),$input); }
You need to login to post a comment.