$sql="insert into applicant(FirstnameTh,LastnameTh,FirstnameEn,LastnameEn,Birthday,Race,Nationality,Religion,Height,Weight,Sex,Blood,IdentificationNo,DriverNo,Address,Telephone,Marital,Military,Hobbies,AbilityCar,TypingTh,TypingEn,MoreDetail) value('$ApplicantId','$FirstnameTh','$LastnameTh','$FirstnameEn','$LastnameEn','$Birthday','$Race','$Nationality','$Religion','$Height','$Weight','$Sex','$Blood,'$IdentificationNo','$DriverNo','$Address','$Telephone','$Marital','$Military','$Hobbies','$AbilityCar','$TypingTh','$TypingEn','$MoreDetail')";
$result=mysql_query($sql);
$sql="insert into family(Firstname,Lastname,AddressFam,TelephoneFam,Workplace,PositionFam,Relationship) value('$Firstname','$Lastname','$AddressFam','$TelephoneFam','$Workplace','$PositionFam','$Relationship')";
$result=mysql_query($sql);
$sql="insert into education(ApplicantId,QuaId,Level,Institution,Major,Certificate,Grade,Admission,Graduated) value('$ApplicantId','$QuaId','$Level','$Institution','$Major','$Certificate','$Grade','$Admission','$Graduated')";
$result=mysql_query($sql);
$sql="insert into experiences(ExpId,Company,Position,Scope,Salary,Exp) value('','$Company','$Position','$Scope','$Salary','$Exp')";
$result=mysql_query($sql);
$sql="insert into training(TrainingId,Course,InstitutionTrain,Period,year) value('','$Course','$InstitutionTrain','$Period','$year')";
$result=mysql_query($sql);
$sql="insert into language(LangId,Language) value('','$Language')";
$result=mysql_query($sql);
$sql="insert into langlevel(LangId,ApplicantId,SpeakLev,ListenLev,ReadLev,WriteLev) value('$LangId','$ApplicantId','$SpeakLev','$ListenLev','$ReadLev','$WriteLev')";
$result=mysql_query($sql);
$sql="insert into program(ProId,program) value('','$program')";
$result=mysql_query($sql);
$sql="insert into prolevel(ProId,ApplicantId,ProLev) value('$ProId','$Applicant','$ProLev')";
$result=mysql_query($sql);
ลองทำแล้ว มันขึ้นแบบนี้อะครับ You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'โสด','','','','','','')' at line 1
ช่วยหน่อยครับ พอกดบันทึกแล้วขึ้น You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'โสด','','','','','','')' at line 1
insert into applicant(FirstnameTh,LastnameTh,FirstnameEn,LastnameEn,Birthday,Race,Nationality,Religion,Height,Weight,Sex,Blood,IdentificationNo,DriverNo,Address,Telephone,Marital,Military,Hobbies,AbilityCar,TypingTh,TypingEn,MoreDetail) value('$ApplicantId','$FirstnameTh','$LastnameTh','$FirstnameEn','$LastnameEn','$Birthday','$Race','$Nationality','$Religion','$Height','$Weight','$Sex','$Blood,'$IdentificationNo','$DriverNo','$Address','$Telephone','$Marital','$Military','$Hobbies','$AbilityCar','$TypingTh','$TypingEn','$MoreDetail')";