Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Drop Down Executes Query On Post? Reply To: Drop Down Executes Query On Post?

#170745
__
Participant

“headers already sent” means you already have output (e.g., you’ve echoed something), and so you can no longer use functions that send headers (e.g., header()).

As for mysql_query, $query,$Link is the correct order (and number) of args. If it returns false (and because you see your “error inserting!” message, it seems it has), then there was an error in your database. Use mysql_error to get the error message from the database.