<td><input id=firstname name=firstname> <tr><td><label for=dob>Ngày sinh</label> <td><input id=dob name=dob> <script language="JavaScript"> var d = new Date(); d.setFullYear (d.getFullYear() - 22); var sample_dob = f_tcalGenerDate (d); new tcal ({'controlname':'dob', 'selected':sample_dob}); </script> <tr><td><label for=class>Lớp</label> <td><select id=class name=class> <option value=0>------</option> <?php $arr = $db->getClassList(); foreach ($arr as $class) { echo "<option value={$class['1']}>{$class['0']}</option>"; } ?> </select> <tr align=center> <td colspan=2> <input type=reset value=Huỷ> <input type=submit name=submit value='Hoàn thành'> </table> </form> </div> </BODY>