I keep receiving this error: Parse error: syntax error, unexpected T_STRING on line 20. I have posted line 20 (the very last line I believe) can someone tell me what the issue is? and what does "unexpected T_STRING" mean for future reference?
Thanks in advance.
<?php
$con = mysql_connect("localhost","myusername","mypassword
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("mydatabase", $con);
$sql="INSERT INTO Registration_Table (User_ID, Password) VALUES ('$_POST[username]','$_POST[password]')";
if (!mysql_query($sql,$con))
{
die('Error: ' . mysql_error());
}
echo $_POST[username];
Contact Information
<form method="post" action="surveycontactinformationinsert.php">