1
Code:
$notapost = $_POST['nota'];
$cnpjpost = $_POST['cnpj'];
$objCheck = new Check();
$objCheck->setemail($notapost);
$objCheck->setlocal($cnpjpost);
$controller = new Comando($conn);
$controller->ListaDados($objCheck);
header ("location: ../view/FrontTab.php?nota=".$notapost);
I’m passing the $notapost
by header as I pass another variable by header ? which in case would be the $cnpjpost
.
I don’t know what the syntax would look like.