Maybe someone else can see something I am not. When I submit the form I get the message below. The year column produces the same error with its properties as both text and date format
This syntax:
$sql = "INSERT INTO bike_app (year, make, model, engine_size, full_coverage, towing, um, leinholder, name, address, city, state, zip, phone, time, email, tickets, accidents, dui, experience, usage, annual_miles, one_way, new, sold, date) VALUES ('$bike_year', '$make', '$model', '$engine_size', '$full_coverage', '$towing', '$um', '$leinholder', '$name', '$address', '$city', '$state', '$zip', '$phone', '$time', '$email', '$tickets', '$accidents', '$dui', '$experience', '$usage', '$annual_miles', '$one-way', 'y', 'n', '$today')";
Gets this error message:
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 'usage, annual_miles, one_way, new, sold, date) VALUES ('1980',