ahh ok i see what you was talking about
okay this is what i have now, and i get the following error
$con= mysql_connect($host,$user,$pass);
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db($db,$con);
// add the new information into the database
$q1= "INSERT INTO auto (make,model,year) VALUES ('$_POST[make]','$_POST[model]','$_POST[year]')";
$q2= "INSERT INTO dimensions (length,width,height,wheelBase,weight,bodystyle,seatingCap) VALUES ('$_POST[length]','$_POST[width]','$_POST[Height]','$_POST[wheelBase]','$_POST[Weight]','$_POST[bodystyle]','$_POST[seatingCap]')";
$q3= "INSERT INTO ratios (maxspeed,secToSixty,mpg,co2Emes,insurGroup,ncapCrashRat,nhtsaaCrashRat) VALUES ('$_POST[maxspeed]','$_POST[secToSixty]','$_POST[mpg]','$_POST[co2Emes]','$_POST[insurGroup]','$_POST[ncapCrashRat]','$_POST[nhtsaaCrashRat]')";
$q4= "INSERT INTO specs (feulType,engineCap,cylinders,valves,horsePower,torque,wheelDrive,trans,opttranse) VALUES ('$_POST[feulType]','$_POST[engineCap]','$_POST[cylinders]','$_POST[valves]','$_POST[horsePower]','$_POST[torque]','$_POST[wheelDrive]','$_POST[trans]','$_POST[opttranse]')";
if (!mysql_query($q1,$q2,q3,$q4,$con)
{
die('Error: ' . mysql_error());
}
echo "Success!";
?>
Im getting an error on this bit
{
die('Error: ' . mysql_error());
}
echo "Success!";
Warning: Wrong parameter count for mysql_query() in /xx/xx//form.php on line 32
Error: