How am i going to code the php page to be able to go back a previous page.
For example, if i have a employee.php where the user have to enter the name, address, phone, date of birth and etc. After the user clicked the submit button, the newemployee.php will checked if the user entered all the data before a new employee details will be entered in the database.
If the user does not enter the date of birth, i want to go back to the employee.php page which display the previously uncompleted entered data.
For example, if i have a employee.php where the user have to enter the name, address, phone, date of birth and etc. After the user clicked the submit button, the newemployee.php will checked if the user entered all the data before a new employee details will be entered in the database.
If the user does not enter the date of birth, i want to go back to the employee.php page which display the previously uncompleted entered data.
Comment