I have a simple PHP page which displays a list from a MySQL table. The list has a checkbox on each row which the user can tick. When the user presses the Delete (Form) button, any rows selected by a tick are deleted from the table. When this button is pressed, the form calls this page again (Action) and the records are deleted.
The page in question is basically like this:
Start
Open database etc
Select rows and put into array
Delete marked rows if second time round
Display the array in a table
Button (goes back to start
All this works just fine. The only problem is that you have to manually Refresh the page to see that the rows have been deleted.
Is there a way to have the program refresh the page automatically?
Thanks in advance
Terry