In my html form I have 3 dropdown menus for date of birth, day menu, month menu and year menu.
I want to collect day value from day menu,
month value from month menu,
year from year menu.
in php file I wrote for collecting the date of birth data; but it didn't work.
$date = $_POST['day'] . "-" . $_POST['month'] . "-" . $_POST['year'];
Help please.