![]() |
|
#1
| |||
| |||
| Hello again! Im having a little problem with the validation markup. im using php5 and i get a parse error telling me unexpected T_UNSET blah blah.....the usual for me. this is my code: <?php session_start(); if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code'])) ) { $firstname = $_REQUEST['firstname']; $lastname = $_REQUEST['lastname']; $city = $_REQUEST['city']; $pictue = $_REQUEST['picture']; $email =$_REQUEST['email']; mail( "some email","Feedback Form Results", $message, "From: $email"); header("location:../artist_member/thank_you1.html") unset ($_SESSION['security_code']); } else { header ("location:../artist_member/sorry_error.html") } ?> am i using the wrong php syntax? really appreciate the help. Ben |
|
#2
| |||
| |||
| Hi It might be easier if we could take a look at the site, if it is an public one. If you could give us the URL we may be able to help better. Many Thanks Leo |
|
#3
| |||
| |||
| no can do its not live yet if you need any other information i can give it to you thanks for the reply very gratefull if you could help |
|
#4
| |||
| |||
| What forum software are you using? Regards Jason |
|
#5
| |||
| |||
| Hi If you could give me the exact error message it gives you with the T_USET bit that would be great. Many Thanks Leo |
|
#6
| |||
| |||
| 'Times New Roman']it says unexpected T_UNSET c:/www/localhost/sendmail.php on line 17 'Times New Roman']thanks alot leoh187! |
|
#7
| |||
| |||
| Sorry! before that Parse error. syntax error unexpected....... |