<html>
<head>
<title> deneme</title>
</head>
<body>
<table border="2" align=center>
<form name "frm">
<select name="s1" >
<tr><td>dogumtarihi:</td><td>
<?php
for($a=1; $a<=31; $a++)
echo " <option value='$a' > $a</option>";
?>
</select>
<select name="s2" >
<?php
for($b=1; $b<=12; $b++)
echo " <option value='$b' > $b</option>";
?>
</select>
<select name="s3">
<?php
for($c=1900; $c<=2011; $c++)
echo " <option value='$c' > $c</option>";
?>
</select>
</td>
<table>
</form>
</body></html>
Bu hazır kod'a ilk yorumu siz yapın!