Is it possible to strip_tags from all $GET variables without having to manually code each new static variable and setting it equal to the superglobal $GET relative?
For example something like:
foreach( $_GET as $var ) {
strip_tags($var);
}
However can I manually construct a variable $something from within this process??
The outcome should look something like this with having it manually coded:
$address = strip_tags($GET['address']);
$address2 = strip_tags($GET['address2']);
$city = strip_tags($GET['city']);
$state = strip_tags($GET['state']);
$zip = strip_tags($GET['zip']);
$zipSuffix = strip_tags($GET['zipSuffix']);
$ac_office = strip_tags($GET['ac_office']);
$ac_fax = strip_tags($GET['ac_fax']);
$ac_mobile = strip_tags($_GET['ac_mobile']);
Thanks for the help