Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (empty($_POST['finalidade_imob']) || $finalidade_imob == "Escolha 1" ||
- !in_array($_POST['finalidade_imob'], $fi_options)) {
- $finalidade_imob = "Escolha 1";
- $error++;
- } else {
- $finalidade_imob = $_POST['finalidade_imob'];
- }
- //on the end
- if ($error !== 0) {
- return false;
- }
- if ($error !== 0) {
- header('location:perfil.php#content_cadastro_completo');
- return false;
- }
- if($error !== 0)
- { return false;//no need header() to go to the placeholder...
- }
Add Comment
Please, Sign In to add comment