and PHP for backend.
After submitting the form, I am adding form data to database.
The problem here is when page is refreshed, the form data is still present and gets added to database again even with submitting form
How do I handle this?
Try googling this one
This is double POST problem, where post request of html form is sent again on page refresh
Обсуждают сегодня