$i\n"; } if (empty($_SESSION['sess_birth_month'])) $sess_birth_month=""; else $sess_birth_month=$_SESSION['sess_birth_month']; for ($i = 1; $i <= 12; $i++) { if ($i < 10) $j = '0' . $i; else $j = $i; if ($j == $sess_birth_month) $sel = "selected"; else $sel = ""; $months .= "\n"; } if (empty($_SESSION['sess_birth_day'])) $sess_birth_day=""; else $sess_birth_day=$_SESSION['sess_birth_day']; for ($i = 1; $i <= 31; $i++) { if ($i < 10) $j = '0' . $i; else $j = $i; if ($j == $sess_birth_day) $sel = "selected"; else $sel = ""; $days .= "\n"; } if (empty($_SESSION['sess_birth_time'])) $sess_birth_time="00"; else $sess_birth_time=substr($_SESSION['sess_birth_time'], 0, 2); for ($i = 0; $i < 24; $i++) { if ($i < 10) $j = '0' . $i; else $j = $i; if ($j == $sess_birth_time) $sel = "selected"; else $sel = ""; $times .= "\n"; } if (empty($_SESSION['sess_birth_time'])) $sess_birth_min=""; else $sess_birth_min=substr($_SESSION['sess_birth_time'], 2, 2); for ($i = 0; $i < 60; $i++) { if ($i < 10) $j = '0' . $i; else $j = $i; if ($j == $sess_birth_min) $sel = "selected"; else $sel = ""; $mins .= "\n"; } ?>
 
일    
:    모름