Forum Moderators: coopster
I'm trying to get my first PHP "Contact Us" form to work. I am getting the following message: "parse error, unexpected T_VARIABLE" on line 14 of my contact.php code. I'll attach the code below. If anyone can help, it's greatly appreciated! By the way, line 14 starts with $Name
---------------
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
<span class="style1">Thanks for submitting your information. Someone will get back to you shortly!
</span>
<?php
// get posted data into local variables
$EmailFrom = Trim(stripslashes($_POST['EmailFrom']));
$EmailTo = "me@me.com";
$Subject = "Website Contact"
$Name = Trim(stripslashes($_POST['Name']));
[edited by: coopster at 11:48 pm (utc) on Jan. 13, 2006]
[edit reason] removed unnecessary code [/edit]