Hi there,
I'm getting a script error: Parse error: syntax error, unexpected T_VARIABLE in session.php on line 321
I'm sure its something small I'm missing. I've included this section of my script.
Thanks in advance for your help!
316 if($form->num_errors > 0){
317 return 1; //Errors with form
318 }
319 /* No errors, add the new account to the */
320 else{
321 if($database->addNewUser($subuser, md5($subpass), $subemail, $substateissued, $subfirstname, $sublastname, $subaddy1, $subaddy2, $subcity, $substate, $subzip $subphone, $subbirthmonth, $subbirthday, $subbirthyear, $subgender, $subcitation, $subcitmonth, $subcitday, $subcityear)){
322 if(EMAIL_WELCOME){
323 $mailer->sendWelcome($subuser,$subemail,$subpass);
324 }
325 return 0;
326 }else{
327 return 2;
328 }
329 }
330 }