I have a form that should write to MyDQL Database but isn't I have been looking at it for hours and it is driving me crazy.
$sqlquery = "INSERT INTO $table VALUES
'$id','$Name','$DoB_Day','$DoB_Month','$DoB_Year','$Address_1','$Address2','$Town','$Postcode','$Telephone','$Mobile','$Email','$6th_Form','$6th_Form_Year','$6th_Form_Institution','$6th_Form_Course_Title','$College','$College_Year','$College_Name','$College_Course','$E2E','$E2E_Provider','$Apprenticeship','$Apprenticeship_Level','$App_Employer_Name','$App_Work_Area','$Employment','$Employment_Basis','$Emp_Employer_Name','$Emp_Job_Title','$Emp_Training','$University','$University_Name','$Uni_Course_Title','$Gap_Year','$Unemployed','$Other')";
I have used this method before and it worked fine but it just isn't playing nicely today.
I have also tried the following;
$sqlquery = "INSERT INTO `connx_iPOD_Comp` ( `id` , `Name` , `DoB_Day` , `DoB_Month` , `DoB_Year` , `Address_1` , `Address2` , `Town` , `Postcode` , `Telephone` , `Mobile` , `Email` , `6th_Form` , `6th_Form_Year` , `6th_Form_Institution` , `6th_Form_Course_Title` , `College` , `College_Year` , `College_Name` , `College_Course` , `E2E` , `E2E_Provider` , `Apprenticeship` , `Apprenticeship_Level` , `App_Employer_Name` , `App_Work_Area` , `Employment` , `Employment_Basis` , `Emp_Employer_Name` , `Emp_Job_Title` , `Emp_Training` , `University` , `University_Name` , `Uni_Course_Title` , `Gap_Year` , `Unemployed` , `Other` ) '
. 'VALUES('$Name','$DoB_Day','$DoB_Month','$DoB_Year','$Address_1','$Address2','$Town','$Postcode','$Telephone','$Mobile','$Email','$6th_Form','$6th_Form_Year','$6th_Form_Institution','$6th_Form_Course_Title','$College','$College_Year','$College_Name','$College_Course','$E2E','$E2E_Provider','$Apprenticeship','$Apprenticeship_Level','$App_Employer_Name','$App_Work_Area','$Employment','$Employment_Basis','$Emp_Employer_Name','$Emp_Job_Title','$Emp_Training','$University','$University_Name','$Uni_Course_Title','$Gap_Year','$Unemployed','$Other')";