Hello, please if u can help me, I am working on project developing a website.
I write the sign up page but the server gives me a parse error. please notify what it is?
thanks for your help
I write the sign up page but the server gives me a parse error. please notify what it is?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
$fname=$_POST["nom"];
$lname=$_POST["prenom"];
$pname=$_POST["perenom"];
$ddn=$_POST["dob"];
$tel=$_POST["phone"];
$ema=$_POST["mail"];
$vil=$_POST["ville"];
$ru=$_POST["rue"];
$imm=$_POST["immeuble"];
$idc=$_POST["idcard"];
$pofs=$_POST["pps"];
$uname=$_POST["userNom"];
$pwd=$_POST["pass"];
include("MySQLConnection.php");
$insert="INSRET INTO etudiante values(", "$fname", "$lname", "$pname", "$ddn", "$tel", "$ema", "$vil", "$ru",
"$imm", "$idc", "$pofs","$uname", MD5('$pwd'))";
$result= mysql_query($insert);
if($result)
{
header("Location:Acceptance.php");
}
else
{
echo("You have missing or wrong input infomation". mysql_error());
}
mysql_close();
?>
Comment