Hey im making a user registration page but i stuck on the birthday field. I ve added 3 list menu 1st for mounth 2nd for day & 3rd for year.
[CODE]
<label for=”select”></label>
<select name=”user_month” id=”user_month”>
<option>–</option><?php for ($i=1;$i<=12;$i++) echo “<option”.($user_month == $i ? ” selected” : “”).”>$i</option>n”; ?>
</select>
<label>
<select name=”user_day” id=”user_day”>
<option>–</option><?php for ($i=1;$i<=31;$i++) echo “<option”.($user_day == $i ? ” selected” : “”).”>$i</option>n”;?>
</select>
</label>
<label>
<select name=”user_year” id=”user_year”>
<option>—-</option><?php for ($i=2009;$i>=1900;$i–) echo “<option”.($user_year == $i ? ” selected” : “”).”>$i</option>n”; ?>
</select>
</label>
Im using dreamweaver to insert data so i dont know how to insert 3 list menu in 1 table. Can any one help ???
Srry for bad english