Sanitize filters

suggest change

we can use filters to sanitize our variable according to our need.

Example

$string = "<p>Example</p>";
$newstring = filter_var($string, FILTER_SANITIZE_STRING);
var_dump($newstring); // string(7) "Example"

above will remove the html tags from $string variable.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Filters, filter functions:
*Sanitize filters

Table Of Contents
19XML
31Filters, filter functions
81PDO
102APCu
108PSR