Can someone help me figure out what is wrong here? I keep getting this error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxxxxxx/public_html/login/class/login_class.php on line 303
I downloaded this code and am trying to modify it to add a user 'first name' and 'last name'. Without those two entries I don't get this error. I cannot figure it out.
Thanks
DG
303 if($SERVER['REQUEST_METHOD'] == "POST" && isset($POST['Submit'])) {
304
305 $first_name=$POST['namefirst'];
306
307 $last_name=$POST['namelast'];
308
309 $password=$POST[password];
310
311 $user_name=$POST[name];
312
313 $email=$POST[email];
314
315 $password2= $POST[password2];
316
317 $ver_code=md5($_POST['ver_code']);
318