I have an issue. When I run:
try {
$as
->setForename($_POST['fname'])
->setSurname($_POST['sname'])
->setEmail($_POST['email'])
->setUser($_POST['user'])
->setPass($_POST['pw'])
->setPhone($_POST['tel'])
->setMobile($_POST['mob'])
->setJob($_POST['job'])
->setAuth($_POST['auth'])
->addProcess();
}
catch (Exception $e) {
echo $e;
}
I get "white screen of death" however when I use:
$as
->setForename($_POST['fname'])
->setSurname($_POST['sname'])
->setEmail($_POST['email'])
->setUser($_POST['user'])
->setPass($_POST['pw'])
->setPhone($_POST['tel'])
->setMobile($_POST['mob'])
->setJob($_POST['job'])
->setAuth($_POST['auth'])
->addProcess();
It all works fine. I am really confused please help, thanks in advance.