0
        if(is_numeric($id) && $id >=1){
            $stmt = $obj_mysqli->prepare("UPDATE 'clientes' SET 'nome'=$nome, 'email'=$email, 'cidade'=$cidade, 'uf'=$uf WHERE id= $id");
            $stmt->bind_param('ssssi', $nome, $email, $cidade, $uf, $id);
            if(!$stmt->execute()){
                $erro = $stmt->error;
            }
            else{
                header("Location:cadastro.php");
                exit;
            }
            /*retorna o erro<!--O PROBLEMA ESTÁ AQUI PRA BAIXO-->
            else{
                $erro = "Número Inválido";
            }*/
What’s the matter?
– David Alves
Only thing I see wrong is that the first if is not closing the keys before opening the second I.
– David Alves