Question: Create the Registration Form pages (Script 6.1 and 6.7 or 6.8 code from this chapter) on your website. Use the handle_reg.php code from Script 6.7
Create the Registration Form pages (Script 6.1 and 6.7 or 6.8 code from this chapter) on your website. Use the handle_reg.php code from Script 6.7 if you would like to use if-else statements. Or use the handle_reg.php code from Script 6.8 if you would like to use switch statements. Include an additional Password validation check that the value cannot equal "Password". Modify the code that calculates the age to use the current year. May be hardcoded or use PHP to determine current year. Include a new condition to determine the generation (Baby Boomer, Generation X, Millennials, etc.) based on the Year You Were Born value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
