let's say I have a function as so
function something($variable){
$variable = sanitize($variable);
$variable1 = sanitize($Variable1);
......
}
When I call this function from a different file and pass 2 variables to it, would this be acceptable? Let's say I call in this fashion...
something($_GET['variable1'], $_POST['variable']);
Thank you!