php sanitize form input code example
Example: sanitize user input php
<?php
function sanitize($string) {
return addslashes(htmlspecialchars($string));
}
?>
<?php
function sanitize($string) {
return addslashes(htmlspecialchars($string));
}
?>