Home >> Computer Language >> Php
Q.
Explain about PHP filter and why it should be used?
Answer :
Filter is used to validate the data coming from the insecure sources.
In PHP some functions are available for validate the data.
filter_var()
filter_var_array()
filter_input
filter_input_array
for more details of the above functions follow the given below link
http://php.net/manual/en/function.filter-var.php
In PHP some functions are available for validate the data.
filter_var()
filter_var_array()
filter_input
filter_input_array
for more details of the above functions follow the given below link
http://php.net/manual/en/function.filter-var.php
Posted By : akash