How to apply a filter without directly accessing the super global $ _POST. changing this:
$F['email'] = mysqli_real_escape_string($conn,$_POST['email']);
So:
$email = filter_input_array(FILTER_INPUT,'email',FILTER_SANITIZE_EMAIL);
$F['email'] = mysqli_real_escape_string($conn,$email);
But it does not work, what is the right syntax if it exists?