C
clarket
Hi,
I have a html form where all the details are saved in a MySQL database
that uses PHP to insert the data into the database.
The problem I'm having is that if people dont submit the form then the
data doesnt get saved to the database.
Does anyone know a way to show a message e.g. "Form has not been saved"
if the user tries to exit the page without pressing the submit button?
or does anyone have an example of this?
Thanks,
Tony.
I have a html form where all the details are saved in a MySQL database
that uses PHP to insert the data into the database.
The problem I'm having is that if people dont submit the form then the
data doesnt get saved to the database.
Does anyone know a way to show a message e.g. "Form has not been saved"
if the user tries to exit the page without pressing the submit button?
or does anyone have an example of this?
Thanks,
Tony.