Question: Create a web page that contains three drop down menu that display month, day and year. Call this php page as php-drop-down-date.php For example to
Create a web page that contains three drop down menu that display month, day and year. Call this php page as php-drop-down-date.php
For example to create drop down menu using PhP script, you may use the following.
//Make the day pull-down menu: print '
print " ";
} print '';
The above script will generate an equivalent html counterpart as below
The year drop down menu can be created similarly. The month may need to use other mean. Check the internet to find an appropriate solution. (You may use array to hold the months)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
