/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
unction cleanuserinput($dirty){ if (get_magic_quotes_gpc()) { $clean = mysql_real_escape_string(stripslashes($dirty)); }else{ $clean = mysql_real_escape_string($dirty); } return $clean; }