php - PHP_SELF form and Back Button action -


so have php page called "view_employee.php" on page, user can press "edit divisions" button , go "edit_employee_divisions.php" page. page contains form submits php_self user can add, update, or remove divisions employee. here's issue:

since form on "edit_employee_divisions.php" posts itself, (with proper prg), if user adds employee multiple divisions (user selects divisions, hits submit, page prgs itself, user selects division, hits submit, page prgs itself, etc...) when user wants hit button "edit_employee.php" page, has hit many times has added/updated/removed divisions (so if adds employee 3 divisions, he'll have hit 3 times before he's @ "edit_employee.php"). there way prevent happening , have go "edit_employee.php" after 1 press of button, no matter how many times has submitted form on "edit_employee_divisions.php" page?

thanks!


Comments

Popular posts from this blog

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

osx - Copy lines to os x clipboard from vim on remote console -