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