im writing a program now in which users submit data which is inserted into a database...
Sometimes it takes a while to insert because of resizing images, etc... but if the user clicks the submit button again, the data will be inserted again
if there any way that after a user clicks submit once, to have that button become inactive so they CAN'T impatiently click it a second time and have duplicate entries into the database?