Please I'm having this challenge. The index.php that controls my script make use of switch statement that is based on $_GET array. The problem arise when I want to display my edit form by clicking an edit button to display full information to be edited. The edit form displays normally but it always include the default switch option set in index.php at the top of the edit form making it look like two different pages displaying on a single page.
I know that edit button that brings out the form to be updated is based on $_POST but the resident $_GET from the index.php always interfere, please how do I eliminate the default value of the switch statement from $_GET in my final output?
The main challenge is separating the interference of $_GET and $_POST to achieve my aim. Thanks
I know that edit button that brings out the form to be updated is based on $_POST but the resident $_GET from the index.php always interfere, please how do I eliminate the default value of the switch statement from $_GET in my final output?
The main challenge is separating the interference of $_GET and $_POST to achieve my aim. Thanks



