mysql_db_query($db_name, "insert into table (subject, name, email, cat, phone, status, ID, priority) VALUES ('".addslashes($subject)."', '$name', '$email', '$cat', '$phone', 'open', $ID, $pri)", $link)
or die("insert into table (subject, name, email, cat, phone, status, ID, priority) VALUES ('".addslashes($subject)."', '$name', '$email', '$cat', '$phone', 'open', $ID, $pri)");
the die gives:
insert into table (subject, name, email, cat, phone, status, ID, priority) VALUES ('[No Subject]', '', '', '', '', 'open', 171428, )
there's a , after 171428 so i think that's where the 8th thing is supposed to go.
anyone see why my stuff doesn't show up?