unexpected T_VARIABLE
Posted: Mon Mar 08, 2004 1:17 am
Can't for the life of me find the error in this line of code.
I get the ol' Parse error: parse error, unexpected T_VARIABLE in / site here /z_purple.php on line 14
I've tried single ' and double " I've put in the .varible and no dot.
I'm using Edit Plus to work on the file.
I get the ol' Parse error: parse error, unexpected T_VARIABLE in / site here /z_purple.php on line 14
Code: Select all
LINE 6 $email = $HTTP_POST_VARSї'email'];
LINE 7 $name = $HTTP_POST_VARSї'name'];
LINE 8 $mobile = $HTTP_POST_VARSї'mobile'];
LINE 9 $feildone = $HTTP_POST_VARSї'feildone'];
LINE 10 $feildtwo = $HTTP_POST_VARSї'feildtwo'];
LINE 11
LINE 12 // Sends an email to us via the Admin Address
LINE 13 $ourSubject = "Newsletter Sign Up from Website";
LINE 14 $ourBody = "A visitor of our "$sitename" website has left the LINE following information";
LINE 15 $ourBody .= "\nname:".$name;
LINE 16 $ourBody .= "\nemail:".$email;
LINE 17 $ourBody .= "\nmobile:".$mobile;
LINE 18 $ourBody .= "\nfeildone:".$feildone;
LINE 19 $ourBody .= "\nfeildtwo:".$feildtwo;I've tried single ' and double " I've put in the .varible and no dot.
I'm using Edit Plus to work on the file.