I have a basic form that I am collecting data with and trying to pass the variables to a PHP script that will insert the values into a database. It seems to work except none of the data is being inserted in the database - it gets filled with blank values and not the ones from the form. I have been pulling my hair out with this and I am sure it is something simple. Any help would be greatly appericated. Here is a link to the form: http://www.darvex.com/alt/alternator_form.php Here is the PHP script: <?php include("dbconnect.php"); if ($submit = "Submit") { $query = "insert into alternator (name,driveline,email,transmission,ac,mounting_style,make,model,year,mandate,cylinders,displacement,displacement_type,requirments,original_engine,total_output,add_req,pulley_type,grooves,location,idle) values ('$name', '$driveline', '$email', '$transmission', '$ac', '$mounting_style', '$make', '$model', '$year', '$mandate', '$cylinders', '$displacment', '$displacement_type', '$requirments', '$original_engine', '$total_output', '$add_req', '$pulley_type', '$grooves', '$location', '$idle')" ; mysql_query($query) or die (mysql_error()); ?> Thanks <?php } else { include("alternator_form.php"); } ?>