/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function slashes($e) { if (is_array($e)) return array_map("slashes", $e); else return stripslashes($e); } }
URL: http://www.barattalo.it/2010/04/27/always-remove-slashes-from-get-and-post/