there appears to be a space in the first instance of the word location (the field name). so try:
Code:
mySQL=" INSERT INTO order_details
( category_name,
classified,
name,
location,
country,
website,
contact_no )
VALUES
( '"& category_name &"',
'"& classified &"',
'"& Name &"',
'"& location &"',
'"& country &"',
'"& website &"',
'"& contact_no &"' );"
Is the contact_no field definitiely a string in mysql rather than a integer? If it was a number you would want to loose the quotes around it I would think.
Code:
'"& website &"',
"& contact_no &" );"
Warn you now though, I'm not an ASP man, so I might be missing something obvious that is specific to that. Also, I hope you are escaping/validating the user input before the variables go into the SQL.
Bookmarks