/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function clean($string,$type){ switch ($type){ case "int": case "string": case "sql": break; case "email": break; case "url": break; case "ip": break; default: return 0; break; } }