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 am passing $notapost
through the header as I pass one more variable through the header? Which would be the $cnpjpost
.
I do not know what the syntax would look like.