Is there a way to run an update query (or even a PHP function) when a drop down menu changes state, such as "onchange"? Basically I have a function that generates the drop down menu, which holds years. If I want to change this year, so something else, I will need it to update a table in the database (due to how my code works). So, I'm wanting the user to be able to select a difference year from the drop down and "onchange" (when they change to a different year), I want another PHP function to be called to update a table to note that we are using the difference year. So, all I'm asking in this questions is if there is a way to initiate a PHP function on an onchange drop down event?
Thanks in advanced.