Does anyone know how to keep track of how many times a form is submitted by tracking clicks of the submit button. I know you can do it in Java but I was wondering if one of the hot shots on this forum had found a way to do it with Php. The idea behind it is I want to create a form where if the submit button is clicked the first time it saves the record to the database. If the user clicks more than once the record which was added is updated. Nothing against Java but I would really love to keep the app purely Php. As always, I really appreciate all the great help this forum affords. I am new to Php but I have used many forums and this is one of the best if not the best for getting straight answers to tough questions. Thanks Much and have a great day.