hi..
I have an error with the following script. Elements from a form a posted to the following script...(below is a partition):
=================
$query = "INSERT INTO $airlineselect (id,departure,destination,deptime,arvtime,aircraft_id,avail,comments,monday,tuesday,wednesday,thursday,friday,saturday,sunday) VALUES ('$id','$departure','$destination','$deptime','$arvtime','$aircraft_id','$avail','$comments','$monday','$tuesday,'$wednesday','$thursday','$friday','$saturday','$sunday')";
mysql_query($query) or
die (mysql_error());
and when I submit a form, I get:
"You have an error in your SQL syntax near '1','1','1','1','1')' at line 1"
What the hell does this mean? and what's wrong with the script?
Thanks
ben