Forum Moderators: coopster
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Sign up validation</title>
</head>
<body>
<?php
$email=($_POST['email'])
$dbh = mysql_connect('localhost', 'something_this', 'thewoman');
mysql_select_db ("something_info") or die ('unable to connect to the database');
$query="INSERT INTO identity(id, email, phone, self)
VALUES ('','$email', '$phone', '$info')";
$result= mysql_query($query);
echo 'Thank You for joining and submitting your info'
?>
</body>
</html>
now the error message i recieve is:
Parse error: parse error, unexpected T_VARIABLE in /home/something/public_html/signup.php on line 11.
Line 11 is the mysql_connect line along with all the username, and password variables.
Any suggestions?