So I have a php page called "view_employee.php" on that page, the user can press an "Edit Divisions" button and go to the "edit_employee_divisions.php" page. That page contains a form that submits to PHP_SELF so that the user can add, update, or remove divisions from the employee. Here's my issue:
Since the form on "edit_employee_divisions.php" POSTs to itself, (with proper PRG), if the user adds the employee to multiple divisions (user selects a divisions, hits Submit, the page PRGs to itself, user selects another division, hits Submit, page PRGS to itself, etc...) then when the user wants to hit the Back button to get back to the "edit_employee.php" page, he has to hit Back as many times as he has added/updated/removed divisions (so if he adds the employee to 3 divisions, he'll have to hit Back 3 times before he's back at "edit_employee.php"). Is there any way to prevent this from happening and have it go back to "edit_employee.php" after only 1 press of the Back button, no matter how many times he has submitted the form to itself on the "edit_employee_divisions.php" page?
Thanks!