I have a clear button that I want to tie into some php coding. how do I detect if the clear button is pressed. When the user press clear, i\'m going to have it update a sql
Either wire up the item as a button you attach to a Javascript snippet that fires off an AJAX request, or use a submit input. (Determine whether the form was submitted or reset based upon the submit value)