You've got to be specific on what's going into the table, fieldnames & values. Here's a snippet from a 'simple' news script...
PHP Code:
$sql = "
INSERT INTO
the_news
SET
date_posted = now(),
event_region = '$_POST[posted_region]',
event_type = 'news',
event_start = '$_POST[event_start]',
event_end = '$_POST[event_end]',
is_announcement = '$_POST[news_announcement]',
news_title = '$_POST[news_title]',
news_details = '$_POST[news_detail]',
news_notes = '$_POST[news_notes]',
approved = '$_POST[approved]',
display_after = '$_POST[show_after]'
";
You'll need to do something similar.
Bookmarks