Im a newbie so bare with me!
I need help! My very first page and Im already getting errors.
Parse error: parse error, unexpected $end in mailinglist.php on line 36
Line 36 is the last line of my code.
here is the code if it helps!!!
<html>
<head>
<title>::UNDEGRGROUNDMUSIC>COM//Mailing List Form::</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
// Add to Mailing List
//Conditional check
if (isset($HTTP_POST_VARS['submit'])){ //if form has been submitted, work it.
//Check Required form field
if (strlen($HTTP_POST_VARS['email']) >0) {
//Include the MySQL information
require_once ('sqlconnect.php");
//Create query:
$query = "INSERT INTO clients VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, $HTTP_POST_VARS[email])";
//Execute Query
$query_result = mysql_query ($query);
//Close out PHP Coding
?>
<font size="2" face="Geneva, Arial, Helvetica, sans-serif">Mailing List Membership:</font>
<form action="mailing.php" method="post">
<input type="text" name="email" size="30" maxlength="30" />
<input type="submit" name="submit" value="Submit!" />
</form>
<?php
} // Finish the conditional check
?>
</body>
</html>