HOME > PHP > PHP Forum > ช่วยหน่อยคั้บ Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/zoneproc/domains/1st-prozone.co.cc/public_html/insert.php on line 20
ช่วยหน่อยคั้บ Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/zoneproc/domains/1st-prozone.co.cc/public_html/insert.php on line 20
include("connectd1b.php");
$strSql="insert into member (ID,Pass,Mail,Tel)";
$strSql= "values('$user','$password','$mail','$tel')";
if(!mysql_query($strSql))
(die"error:".mysql_error)();
echo"<center><h3>เกิดปัญหาแล้ว</h3></center>";
include("connectd1b.php");
$strSql="insert into member (ID,Pass,Mail,Tel)";
$strSql.= "values('$user','$password','$mail','$tel')";
if(!mysql_query($strSql)) or die("error:".mysql_error());
echo"<center><h3>เกิดปัญหาแล้ว</h3></center>";