so i have this form. I simply want to take all the fields and assign them to a variable for use later, but for some reason I keep getting a parse issue..Parse error: syntax error, unexpected $end on line 422
<?php
$Fname = $_POST["firmname"];
if (!isset($_POST['submit'])) {
?>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
</script>
</style>
</head>
<body bgcolor="#002E2F">
<center>
<form method="post" action="<?php echo $PHP_SELF;?>">
<table border="0" bordercolor="#000000" style="background-color:#FFFFFF" width="663" cellpadding="3" cellspacing="3">
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Firm Name</font></td>
<td width="324"><br /><input type="text" name="firmname" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Firm Contact Name</font></td>
<td width="324"><input type="text" name="firmcontactname" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Title</font></td>
<td width="324"><input type="text" name="title" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Phone Number</font></td>
<td width="324"><input type="text" name="phonenumber" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Fax Number</font></td>
<td width="324"><input type="text" name="faxnumber" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Email Address</font></td>
<td width="324"><input type="text" name="email" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Website</font></td>
<td width="324"><input type="text" name="website" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Street Address</font></td>
<td width="324"><input type="text" name="street" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">City</font></td>
<td width="324"><input type="text" name="city" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">State</font></td>
<td width="324"><input type="text" name="state" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Country</font></td>
<td width="324"><input type="text" name="country" size="50" /></td>
</tr>
<tr style="background-color: #f4fbee">
<td width="324"><font face="verdana" size="2">Postal Code</font></td>
<td width="324"><input type="text" name="postal" size="50" /></td>
</tr>
</table>
<table border="0" style="background-color:#f4fbee" width="651" height="25" cellpadding="3" cellspacing="3">
<tr>
<td><hr /></td>
</tr>
</table>
</form>
</center>
</body>
</html>
<?
} else {
echo "Hello, ".$Fname." ";
}
?>
can anyone tell me what I'm doing wrong? please note this is a shortened version of my full form, kinda exceeded the max characters by about 7,000 when i posted the full thing... thanks for your help.