Hi there, I have created a simple form where the details entered into the form are put into a database. Sounds simple enough but the form is not working. I have created many forms like this in the past but can not figure out why it will not work.
Here is my code :
$sql="INSERT INTO $tbl_name(name, surname, telephone, cellphone, email, area, otherarea, solarpoolheating, poolcovers, chlorinators, heatpumps, geysers, other, interestedother, poolsize, otherpoolsize)VALUES('$name', '$surname', '$telephone', '$cellphone', '$email', '$area', '$otherarea', '$solarpoolheating', '$poolcovers', '$chlorinators', '$heatpumps', '$geysers', '$other', '$interestedother', '$poolsize','$otherpoolsize')";
These are the fields in my table in the correct order :
name,surname,telephone,cellphone,email,area,otherarea,solarpoolheating,poolcovers,chlorinators,heatpumps,geysers,other,poolsize,otherpoolsize
If anyone can see where I am going wrong please let me know??
Liz