001.
<?php
002.
include
"connect.php"
;
003.
mysql_query(
"set names tis620"
);
004.
?>
005.
<html>
006.
<head>
007.
<title>แก้ไขรายละเอียด</title>
008.
<style type=
"text/css"
>
009.
.style69 {
010.
font-family: AngsanaUPC;
011.
color: #F00;
012.
font-size: 22px;
013.
}
014.
</style>
015.
</head>
016.
<body>
017.
018.
<?php
019.
020.
$SQL_select_user
=
"select*from $tbluser where id='$id';"
;
021.
$dbquery
=mysql_db_query(
$db_name
,
$SQL_select_user
);
022.
$result
= mysql_fetch_array(
$dbquery
);
023.
024.
$id
=
$result
[id];
025.
$date
=
date
(
"y-m-d"
);
026.
$file
=
$result
[file];
027.
$type
=
$result
[type];
028.
$sex
=
$result
[sex];
029.
$firstname
=
$result
[firstname];
030.
$lastname
=
$result
[lastname];
031.
$idstudent
=
$result
[idstudent];
032.
$level
=
$result
[level];
033.
$clas
=
$result
[clas];
034.
$room
=
$result
[room];
035.
$mejor
=
$result
[mejor];
036.
$numcar
=
$result
[numcar];
037.
$jungwud
=
$result
[jungwud];
038.
$brand
=
$result
[brand];
039.
$model
=
$result
[model];
040.
$color
=
$result
[color];
041.
$numcar2
=
$result
[numcar2];
042.
$regiscar
=
$result
[regiscar];
043.
$vol
=
$result
[vol];
044.
$day
=
$result
[day];
045.
$month
=
$result
[month];
046.
$year
=
$result
[year];
047.
$day2
=
$result
[day2];
048.
$month2
=
$result
[month2];
049.
$year2
=
$result
[year2];
050.
$numhome
=
$result
[numhome];
051.
$village
=
$result
[village];
052.
$soi
=
$result
[soi];
053.
$road
=
$result
[road];
054.
$district
=
$result
[district];
055.
$border
=
$result
[border];
056.
$province
=
$result
[province];
057.
$post
=
$result
[post];
058.
$hphone
=
$result
[hphone];
059.
$sphone
=
$result
[sphone];
060.
$fname
=
$result
[fname];
061.
$flastname
=
$result
[flastname];
062.
$fphone
=
$result
[fphone];
063.
$mname2
=
$result
[mname2];
064.
$mlastname2
=
$result
[mlastname2];
065.
$mphone2
=
$result
[mphone2];
066.
067.
?>
068.
<h4 align=
"center"
>แก้ไขรายละเอียด <font color=
"red"
><?php
echo
$firstname
; ?> <?php
echo
$lastname
; ?></font></h4>
069.
<form name=
"form1"
method=
"post"
action=
"update.php"
enctype=
"multipart/form-data"
>
070.
<center>
071.
<p>แบบบันทึกประวัตินักเรียนนักศึกษา ข้อมูลจักรยานยนต์และรถยนต์</p>
072.
<p><img src=
"images/<?=$result["
file
"];?>"
></p>
073.
<p>อัพโหลดรูป :
074.
<input type=
"file"
name=
"file"
/>
075.
ขนาดไม่เกิน 1 MB
076.
<br />s
077.
</p>
078.
<p>ประเภท
079.
<input name=
"type"
type=
"radio"
value=
"รถจักรยานยนต์"
<?
if
(
$type
==
"รถจักรยานยนต์"
) {
echo
"Checked"
;}?> />
080.
<label
for
=
"type"
>รถจักรยานยนต์</label>
081.
082.
<input type=
"radio"
name=
"type"
value=
"รถยนต์"
<?
if
(
$type
==
"รถยนต์"
) {
echo
"Checked"
;}?> />
083.
<label
for
=
"type"
>รถยนต์</label>
084.
</p>
085.
<p>ชื่อ
086.
087.
<select name=
"sex"
id=
"sex"
>
088.
<option value=
"นาย"
selected=
"selected"
>นาย</option>
089.
<option value=
"นางสาว"
>นางสาว</option>
090.
<option value=
"นาง"
>นาง</option>
091.
</select>
092.
093.
<input name=
"firstname"
type=
"text"
id=
"firstname"
value=
"<?=$firstname?>"
>
094.
นามสกุล
095.
<input name=
"lastname"
type=
"text"
id=
"lastname"
value=
"<?=$lastname?>"
/>
096.
รหัสประจำตัว
097.
098.
<input name=
"idstudent"
type=
"text"
id=
"idstudent"
value=
"<?=$idstudent?>"
maxlength=
"7"
/>
099.
</p>
100.
<p>ระดับชั้น
101.
102.
<select name=
"level"
id=
"level"
>
103.
<option value=
"ปวช."
<?
if
(
$level
==
"ปวช"
){
echo
"selected"
;}?>>ปวช.</option>
104.
<option value=
"ปวส."
<?
if
(
$level
==
"ปวส"
){
echo
"selected"
;}?>>ปวส.</option>
105.
</select>
106.
ชั้นปี
107.
108.
<input name=
"clas"
type=
"text"
id=
"clas"
value=
"<?=$clas?>"
size=
"5"
maxlength=
"2"
/>
109.
/
110.
111.
<input name=
"room"
type=
"text"
id=
"room"
value=
"<?=$room?>"
size=
"5"
maxlength=
"2"
/>
112.
สาขา
113.
114.
<select name=
"mejor"
id=
"mejor"
>
115.
<option value=
"สาขาคอมพิวเตอร์ธุรกิจ"
<?
if
(
$mejor
==
"สาขาคอมพิวเตอร์ธุรกิจ"
){
echo
"selected"
;}?>>สาขาคอมพิวเตอร์ธุรกิจ</option>
116.
<option value=
"สายขาการบัญชี"
<?
if
(
$mejor
==
"สายขาการบัญชี"
){
echo
"selected"
;}?>>สาขาการบัญชี</option>
117.
<option value=
"สาขาการขาย"
<?
if
(
$mejor
==
"สาขาการขาย"
){
echo
"selected"
;}?>>สาขาการขาย</option>
118.
<option value=
"สาขาการตลาด"
<?
if
(
$mejor
==
"สาขาการตลาด"
){
echo
"selected"
;}?>>สาขาการตลาด</option>
119.
</select>
120.
เลขทะเบียนรถ
121.
122.
<input name=
"numcar"
type=
"text"
id=
"numcar"
value=
"<?=$numcar?>"
/>
123.
</p>
124.
<p>จังหวัด
125.
126.
<select name=
"jungwud"
id=
"jungwud"
>
127.
<option value=
"กรุงเทพมหานคร"
<?
if
(
$jungwud
==
"กรุงเทพมหานคร"
){
echo
"selected"
;}?>>กรุงเทพมหานคร</option>
128.
<option value=
"ปทุมธานี"
<?
if
(
$jungwud
==
"ปทุมธานี"
){
echo
"selected"
;}?>>ปทุมธานี</option>
129.
<option value=
"นนทบุรี"
<?
if
(
$jungwud
==
"นนทบุรี"
){
echo
"selected"
;}?>>นนทบุรี</option>
130.
<option value=
"อื่นๆ"
<?
if
(
$jungwud
==
"อื่นๆ"
){
echo
"selected"
;}?>>อื่นๆ</option>
131.
</select>
132.
ยี่ห้อรถ
133.
134.
<input name=
"brand"
type=
"text"
id=
"brand"
value=
"<?=$brand?>"
/>
135.
136.
รุ่น
137.
138.
<input name=
"model"
type=
"text"
id=
"model"
value=
"<?=$model?>"
/>
139.
สีตัวรถ
140.
<select name=
"color"
id=
"color"
>
141.
<option value=
"ขาว"
<?
if
(
$color
==
"ขาว"
){
echo
"selected"
;}?>>ขาว</option>
142.
<option value=
"แดง"
<?
if
(
$color
==
"แดง"
){
echo
"selected"
;}?>>แดง</option>
143.
<option value=
"เหลือง"
<?
if
(
$color
==
"เหลือง"
){
echo
"selected"
;}?>>เหลือง</option>
144.
<option value=
"เขียว"
<?
if
(
$color
==
"เขียว"
){
echo
"selected"
;}?>>เขียว</option>
145.
<option value=
"น้ำเงิน"
<?
if
(
$color
==
"น้ำเงิน"
){
echo
"selected"
;}?>>น้ำเงิน</option>
146.
<option value=
"ดำ"
<?
if
(
$color
==
"ดำ"
){
echo
"selected"
;}?>>ดำ</option>
147.
<option value=
"น้ำตาล"
<?
if
(
$color
==
"น้ำตาล"
){
echo
"selected"
;}?>>น้ำตาล</option>
148.
<option value=
"อื่นๆ"
<?
if
(
$color
==
"อื่นๆ"
){
echo
"selected"
;}?>>อื่นๆ</option>
149.
</select>
150.
</p>
151.
<p>เลขตัวรถ
152.
153.
<input name=
"numcar2"
type=
"text"
id=
"numcar2"
value=
"<?=$numcar2?>"
/>
154.
เลขประจำตัวใบอนุญาตขับขี่
155.
156.
<input name=
"regiscar"
type=
"text"
id=
"regiscar"
value=
"<?=$regiscar?>"
/>
157.
158.
ฉบับที่
159.
<input name=
"vol"
type=
"text"
id=
"vol"
value=
"<?=$vol?>"
/>
160.
</p>
161.
<p>วันที่อนุญาต<span
class
=
"style69"
>
162.
<select name=
"day"
id=
"day"
>
163.
<option value=
"0"
<?
if
(
$day
==
"0"
){
echo
"selected"
;}?>>กรุณาเลือก</option>
164.
<option value=
"1"
<?
if
(
$day
==
"1"
){
echo
"selected"
;}?>>1</option>
165.
<option value=
"2"
<?
if
(
$day
==
"2"
){
echo
"selected"
;}?>>2</option>
166.
<option value=
"3"
<?
if
(
$day
==
"3"
){
echo
"selected"
;}?>>3</option>
167.
<option value=
"4"
<?
if
(
$day
==
"4"
){
echo
"selected"
;}?>>4</option>
168.
<option value=
"5"
<?
if
(
$day
==
"5"
){
echo
"selected"
;}?>>5</option>
169.
<option value=
"6"
<?
if
(
$day
==
"6"
){
echo
"selected"
;}?>>6</option>
170.
<option value=
"7"
<?
if
(
$day
==
"7"
){
echo
"selected"
;}?>>7</option>
171.
<option value=
"8"
<?
if
(
$day
==
"8"
){
echo
"selected"
;}?>>8</option>
172.
<option value=
"9"
<?
if
(
$day
==
"9"
){
echo
"selected"
;}?>>9</option>
173.
<option value=
"10"
<?
if
(
$day
==
"10"
){
echo
"selected"
;}?>>10</option>
174.
<option value=
"11"
<?
if
(
$day
==
"11"
){
echo
"selected"
;}?>>11</option>
175.
<option value=
"12"
<?
if
(
$day
==
"12"
){
echo
"selected"
;}?>>12</option>
176.
<option value=
"13"
<?
if
(
$day
==
"13"
){
echo
"selected"
;}?>>13</option>
177.
<option value=
"14"
<?
if
(
$day
==
"14"
){
echo
"selected"
;}?>>14</option>
178.
<option value=
"15"
<?
if
(
$day
==
"15"
){
echo
"selected"
;}?>>15</option>
179.
<option value=
"16"
<?
if
(
$day
==
"16"
){
echo
"selected"
;}?>>16</option>
180.
<option value=
"17"
<?
if
(
$day
==
"17"
){
echo
"selected"
;}?>>17</option>
181.
<option value=
"18"
<?
if
(
$day
==
"18"
){
echo
"selected"
;}?>>18</option>
182.
<option value=
"19"
<?
if
(
$day
==
"19"
){
echo
"selected"
;}?>>19</option>
183.
<option value=
"20"
<?
if
(
$day
==
"20"
){
echo
"selected"
;}?>>20</option>
184.
<option value=
"21"
<?
if
(
$day
==
"21"
){
echo
"selected"
;}?>>21</option>
185.
<option value=
"22"
<?
if
(
$day
==
"22"
){
echo
"selected"
;}?>>22</option>
186.
<option value=
"23"
<?
if
(
$day
==
"23"
){
echo
"selected"
;}?>>23</option>
187.
<option value=
"24"
<?
if
(
$day
==
"24"
){
echo
"selected"
;}?>>24</option>
188.
<option value=
"25"
<?
if
(
$day
==
"25"
){
echo
"selected"
;}?>>25</option>
189.
<option value=
"26"
<?
if
(
$day
==
"26"
){
echo
"selected"
;}?>>26</option>
190.
<option value=
"27"
<?
if
(
$day
==
"27"
){
echo
"selected"
;}?>>27</option>
191.
<option value=
"28"
<?
if
(
$day
==
"28"
){
echo
"selected"
;}?>>28</option>
192.
<option value=
"29"
<?
if
(
$day
==
"29"
){
echo
"selected"
;}?>>29</option>
193.
<option value=
"30"
<?
if
(
$day
==
"30"
){
echo
"selected"
;}?>>30</option>
194.
<option value=
"31"
<?
if
(
$day
==
"31"
){
echo
"selected"
;}?>>31</option>
195.
</select>
196.
</span> เดือน<span
class
=
"style69"
>
197.
<select name=
"month"
id=
"month"
>
198.
<option value=
"กรุณาเลือก"
<?
if
(
$month
==
"กรุณาเลือก"
){
echo
"selected"
;}?>>กรุณาเลือก</option>
199.
<option value=
"มกราคม"
<?
if
(
$month
==
"มกราคม"
){
echo
"selected"
;}?>>มกราคม</option>
200.
<option value=
"กุมภาพันธ์"
<?
if
(
$month
==
"กุมภาพันธ์"
){
echo
"selected"
;}?>>กุมภาพันธ์</option>
201.
<option value=
"มีนาคม"
<?
if
(
$month
==
"มีนาคม"
){
echo
"selected"
;}?>>มีนาคม</option>
202.
<option value=
"เมษายน"
<?
if
(
$month
==
"เมษายน"
){
echo
"selected"
;}?>>เมษายน</option>
203.
<option value=
"พฤษภาคม"
<?
if
(
$month
==
"พฤษภาคม"
){
echo
"selected"
;}?>>พฤษภาคม</option>
204.
<option value=
"มิถุนายน"
<?
if
(
$month
==
"มิถุนายน"
){
echo
"selected"
;}?>>มิถุนายน</option>
205.
<option value=
"กรกฎาคม"
<?
if
(
$month
==
"กรกฎาคม"
){
echo
"selected"
;}?>>กรกฎาคม</option>
206.
<option value=
"สิงหาคม"
<?
if
(
$month
==
"สิงหาคม"
){
echo
"selected"
;}?>>สิงหาคม</option>
207.
<option value=
"กันยายน"
<?
if
(
$month
==
"กันยายน"
){
echo
"selected"
;}?>>กันยายน</option>
208.
<option value=
"ตุลาคม"
<?
if
(
$month
==
"ตุลาคม"
){
echo
"selected"
;}?>>ตุลาคม</option>
209.
<option value=
"พฤศจิกายน"
<?
if
(
$month
==
"พฤศจิกายน"
){
echo
"selected"
;}?>>พฤศจิกายน</option>
210.
<option value=
"ธันวาคม"
<?
if
(
$month
==
"ธันวาคม"
){
echo
"selected"
;}?>>ธันวาคม</option>
211.
</select>
212.
</span> พ.ศ.<span
class
=
"style69"
>
213.
<select name=
"year"
id=
"year"
>
214.
<option value=
"กรุณาเลือก"
<?
if
(
$year
==
"กรุณาเลือก"
){
echo
"selected"
;}?>>กรุณาเลือก</option>
215.
<option value=
"2525"
<?
if
(
$year
==
"2525"
){
echo
"selected"
;}?>>2525</option>
216.
<option value=
"2526"
<?
if
(
$year
==
"2526"
){
echo
"selected"
;}?>>2526</option>
217.
<option value=
"2527"
<?
if
(
$year
==
"2527"
){
echo
"selected"
;}?>>2527</option>
218.
<option value=
"2528"
<?
if
(
$year
==
"2528"
){
echo
"selected"
;}?>>2528</option>
219.
<option value=
"2529"
<?
if
(
$year
==
"2529"
){
echo
"selected"
;}?>>2529</option>
220.
<option value=
"2530"
<?
if
(
$year
==
"2530"
){
echo
"selected"
;}?>>2530</option>
221.
<option value=
"2531"
<?
if
(
$year
==
"2531"
){
echo
"selected"
;}?>>2531</option>
222.
<option value=
"2532"
<?
if
(
$year
==
"2532"
){
echo
"selected"
;}?>>2532</option>
223.
<option value=
"2533"
<?
if
(
$year
==
"2533"
){
echo
"selected"
;}?>>2533</option>
224.
<option value=
"2534"
<?
if
(
$year
==
"2534"
){
echo
"selected"
;}?>>2534</option>
225.
<option value=
"2535"
<?
if
(
$year
==
"2535"
){
echo
"selected"
;}?>>2535</option>
226.
<option value=
"2536"
<?
if
(
$year
==
"2536"
){
echo
"selected"
;}?>>2536</option>
227.
<option value=
"2537"
<?
if
(
$year
==
"2537"
){
echo
"selected"
;}?>>2537</option>
228.
<option value=
"2538"
<?
if
(
$year
==
"2538"
){
echo
"selected"
;}?>>2538</option>
229.
<option value=
"2539"
<?
if
(
$year
==
"2539"
){
echo
"selected"
;}?>>2539</option>
230.
<option value=
"2540"
<?
if
(
$year
==
"2540"
){
echo
"selected"
;}?>>2540</option>
231.
<option value=
"2541"
<?
if
(
$year
==
"2541"
){
echo
"selected"
;}?>>2541</option>
232.
<option value=
"2542"
<?
if
(
$year
==
"2542"
){
echo
"selected"
;}?>>2542</option>
233.
<option value=
"2543"
<?
if
(
$year
==
"2543"
){
echo
"selected"
;}?>>2543</option>
234.
<option value=
"2544"
<?
if
(
$year
==
"2544"
){
echo
"selected"
;}?>>2544</option>
235.
<option value=
"2545"
<?
if
(
$year
==
"2545"
){
echo
"selected"
;}?>>2545</option>
236.
<option value=
"2546"
<?
if
(
$year
==
"2546"
){
echo
"selected"
;}?>>2546</option>
237.
<option value=
"2547"
<?
if
(
$year
==
"2547"
){
echo
"selected"
;}?>>2547</option>
238.
<option value=
"2548"
<?
if
(
$year
==
"2548"
){
echo
"selected"
;}?>>2548</option>
239.
<option value=
"2549"
<?
if
(
$year
==
"2549"
){
echo
"selected"
;}?>>2549</option>
240.
<option value=
"2550"
<?
if
(
$year
==
"2550"
){
echo
"selected"
;}?>>2550</option>
241.
<option value=
"2551"
<?
if
(
$year
==
"2551"
){
echo
"selected"
;}?>>2551</option>
242.
<option value=
"2552"
<?
if
(
$year
==
"2552"
){
echo
"selected"
;}?>>2552</option>
243.
<option value=
"2553"
<?
if
(
$year
==
"2553"
){
echo
"selected"
;}?>>2553</option>
244.
<option value=
"2554"
<?
if
(
$year
==
"2554"
){
echo
"selected"
;}?>>2554</option>
245.
<option value=
"2555"
<?
if
(
$year
==
"2555"
){
echo
"selected"
;}?>>2555</option>
246.
<option value=
"2556"
<?
if
(
$year
==
"2556"
){
echo
"selected"
;}?>>2556</option>
247.
<option value=
"2557"
<?
if
(
$year
==
"2557"
){
echo
"selected"
;}?>>2557</option>
248.
<option value=
"2558"
<?
if
(
$year
==
"2558"
){
echo
"selected"
;}?>>2558</option>
249.
</select>
250.
</span> </p>
251.
<p>วันที่สิ้นอายุ<span
class
=
"style69"
>
252.
<select name=
"day2"
id=
"day2"
>
253.
<option value=
"0"
<?
if
(
$day2
==
"0"
){
echo
"selected"
;}?>>กรุณาเลือก</option>
254.
<option value=
"1"
<?
if
(
$day2
==
"1"
){
echo
"selected"
;}?>>1</option>
255.
<option value=
"2"
<?
if
(
$day2
==
"2"
){
echo
"selected"
;}?>>2</option>
256.
<option value=
"3"
<?
if
(
$day2
==
"3"
){
echo
"selected"
;}?>>3</option>
257.
<option value=
"4"
<?
if
(
$day2
==
"4"
){
echo
"selected"
;}?>>4</option>
258.
<option value=
"5"
<?
if
(
$day2
==
"5"
){
echo
"selected"
;}?>>5</option>
259.
<option value=
"6"
<?
if
(
$day2
==
"6"
){
echo
"selected"
;}?>>6</option>
260.
<option value=
"7"
<?
if
(
$day2
==
"7"
){
echo
"selected"
;}?>>7</option>
261.
<option value=
"8"
<?
if
(
$day2
==
"8"
){
echo
"selected"
;}?>>8</option>
262.
<option value=
"9"
<?
if
(
$day2
==
"9"
){
echo
"selected"
;}?>>9</option>
263.
<option value=
"10"
<?
if
(
$day2
==
"10"
){
echo
"selected"
;}?>>10</option>
264.
<option value=
"11"
<?
if
(
$day2
==
"11"
){
echo
"selected"
;}?>>11</option>
265.
<option value=
"12"
<?
if
(
$day2
==
"12"
){
echo
"selected"
;}?>>12</option>
266.
<option value=
"13"
<?
if
(
$day2
==
"13"
){
echo
"selected"
;}?>>13</option>
267.
<option value=
"14"
<?
if
(
$day2
==
"14"
){
echo
"selected"
;}?>>14</option>
268.
<option value=
"15"
<?
if
(
$day2
==
"15"
){
echo
"selected"
;}?>>15</option>
269.
<option value=
"16"
<?
if
(
$day2
==
"16"
){
echo
"selected"
;}?>>16</option>
270.
<option value=
"17"
<?
if
(
$day2
==
"17"
){
echo
"selected"
;}?>>17</option>
271.
<option value=
"18"
<?
if
(
$day2
==
"18"
){
echo
"selected"
;}?>>18</option>
272.
<option value=
"19"
<?
if
(
$day2
==
"19"
){
echo
"selected"
;}?>>19</option>
273.
<option value=
"20"
<?
if
(
$day2
==
"20"
){
echo
"selected"
;}?>>20</option>
274.
<option value=
"21"
<?
if
(
$day2
==
"21"
){
echo
"selected"
;}?>>21</option>
275.
<option value=
"22"
<?
if
(
$day2
==
"22"
){
echo
"selected"
;}?>>22</option>
276.
<option value=
"23"
<?
if
(
$day2
==
"23"
){
echo
"selected"
;}?>>23</option>
277.
<option value=
"24"
<?
if
(
$day2
==
"24"
){
echo
"selected"
;}?>>24</option>
278.
<option value=
"25"
<?
if
(
$day2
==
"25"
){
echo
"selected"
;}?>>25</option>
279.
<option value=
"26"
<?
if
(
$day2
==
"26"
){
echo
"selected"
;}?>>26</option>
280.
<option value=
"27"
<?
if
(
$day2
==
"27"
){
echo
"selected"
;}?>>27</option>
281.
<option value=
"28"
<?
if
(
$day2
==
"28"
){
echo
"selected"
;}?>>28</option>
282.
<option value=
"29"
<?
if
(
$day2
==
"29"
){
echo
"selected"
;}?>>29</option>
283.
<option value=
"30"
<?
if
(
$day2
==
"30"
){
echo
"selected"
;}?>>30</option>
284.
<option value=
"31"
<?
if
(
$day2
==
"31"
){
echo
"selected"
;}?>>31</option>
285.
</select>
286.
</span> เดือน<span
class
=
"style69"
>
287.
<select name=
"month2"
id=
"month2"
>
288.
<option value=
"กรุณาเลือก"
<?
if
(
$month2
==
"กรุณาเลือก"
){
echo
"selected"
;}?>>กรุณาเลือก</option>
289.
<option value=
"มกราคม"
<?
if
(
$month2
==
"มกราคม"
){
echo
"selected"
;}?>>มกราคม</option>
290.
<option value=
"กุมภาพันธ์"
<?
if
(
$month2
==
"กุมภาพันธ์"
){
echo
"selected"
;}?>>กุมภาพันธ์</option>
291.
<option value=
"มีนาคม"
<?
if
(
$month2
==
"มีนาคม"
){
echo
"selected"
;}?>>มีนาคม</option>
292.
<option value=
"เมษายน"
<?
if
(
$month2
==
"เมษายน"
){
echo
"selected"
;}?>>เมษายน</option>
293.
<option value=
"พฤษภาคม"
<?
if
(
$month2
==
"พฤษภาคม"
){
echo
"selected"
;}?>>พฤษภาคม</option>
294.
<option value=
"มิถุนายน"
<?
if
(
$month2
==
"มิถุนายน"
){
echo
"selected"
;}?>>มิถุนายน</option>
295.
<option value=
"กรกฎาคม"
<?
if
(
$month2
==
"กรกฎาคม"
){
echo
"selected"
;}?>>กรกฎาคม</option>
296.
<option value=
"สิงหาคม"
<?
if
(
$month2
==
"สิงหาคม"
){
echo
"selected"
;}?>>สิงหาคม</option>
297.
<option value=
"กันยายน"
<?
if
(
$month2
==
"กันยายน"
){
echo
"selected"
;}?>>กันยายน</option>
298.
<option value=
"ตุลาคม"
<?
if
(
$month2
==
"ตุลาคม"
){
echo
"selected"
;}?>>ตุลาคม</option>
299.
<option value=
"พฤศจิกายน"
<?
if
(
$month2
==
"พฤศจิกายน"
){
echo
"selected"
;}?>>พฤศจิกายน</option>
300.
<option value=
"ธันวาคม"
<?
if
(
$month2
==
"ธันวาคม"
){
echo
"selected"
;}?>>ธันวาคม</option>
301.
</select>
302.
</span> พ.ศ.<span
class
=
"style69"
>
303.
<select name=
"year2"
id=
"year2"
>
304.
<option value=
"กรุณาเลือก"
>กรุณาเลือก</option>
305.
<option value=
"กรุณาเลือก"
<?
if
(
$year2
==
"กรุณาเลือก"
){
echo
"selected"
;}?>>กรุณาเลือก</option>
306.
<option value=
"2525"
<?
if
(
$year2
==
"2525"
){
echo
"selected"
;}?>>2525</option>
307.
<option value=
"2526"
<?
if
(
$year2
==
"2526"
){
echo
"selected"
;}?>>2526</option>
308.
<option value=
"2527"
<?
if
(
$year2
==
"2527"
){
echo
"selected"
;}?>>2527</option>
309.
<option value=
"2528"
<?
if
(
$year2
==
"2528"
){
echo
"selected"
;}?>>2528</option>
310.
<option value=
"2529"
<?
if
(
$year2
==
"2529"
){
echo
"selected"
;}?>>2529</option>
311.
<option value=
"2530"
<?
if
(
$year2
==
"2530"
){
echo
"selected"
;}?>>2530</option>
312.
<option value=
"2531"
<?
if
(
$year2
==
"2531"
){
echo
"selected"
;}?>>2531</option>
313.
<option value=
"2532"
<?
if
(
$year2
==
"2532"
){
echo
"selected"
;}?>>2532</option>
314.
<option value=
"2533"
<?
if
(
$year2
==
"2533"
){
echo
"selected"
;}?>>2533</option>
315.
<option value=
"2534"
<?
if
(
$year2
==
"2534"
){
echo
"selected"
;}?>>2534</option>
316.
<option value=
"2535"
<?
if
(
$year2
==
"2535"
){
echo
"selected"
;}?>>2535</option>
317.
<option value=
"2536"
<?
if
(
$year2
==
"2536"
){
echo
"selected"
;}?>>2536</option>
318.
<option value=
"2537"
<?
if
(
$year2
==
"2537"
){
echo
"selected"
;}?>>2537</option>
319.
<option value=
"2538"
<?
if
(
$year2
==
"2538"
){
echo
"selected"
;}?>>2538</option>
320.
<option value=
"2539"
<?
if
(
$year2
==
"2539"
){
echo
"selected"
;}?>>2539</option>
321.
<option value=
"2540"
<?
if
(
$year2
==
"2540"
){
echo
"selected"
;}?>>2540</option>
322.
<option value=
"2541"
<?
if
(
$year2
==
"2541"
){
echo
"selected"
;}?>>2541</option>
323.
<option value=
"2542"
<?
if
(
$year2
==
"2542"
){
echo
"selected"
;}?>>2542</option>
324.
<option value=
"2543"
<?
if
(
$year2
==
"2543"
){
echo
"selected"
;}?>>2543</option>
325.
<option value=
"2544"
<?
if
(
$year2
==
"2544"
){
echo
"selected"
;}?>>2544</option>
326.
<option value=
"2545"
<?
if
(
$year2
==
"2545"
){
echo
"selected"
;}?>>2545</option>
327.
<option value=
"2546"
<?
if
(
$year2
==
"2546"
){
echo
"selected"
;}?>>2546</option>
328.
<option value=
"2547"
<?
if
(
$year2
==
"2547"
){
echo
"selected"
;}?>>2547</option>
329.
<option value=
"2548"
<?
if
(
$year2
==
"2548"
){
echo
"selected"
;}?>>2548</option>
330.
<option value=
"2549"
<?
if
(
$year2
==
"2549"
){
echo
"selected"
;}?>>2549</option>
331.
<option value=
"2550"
<?
if
(
$year2
==
"2550"
){
echo
"selected"
;}?>>2550</option>
332.
<option value=
"2551"
<?
if
(
$year2
==
"2551"
){
echo
"selected"
;}?>>2551</option>
333.
<option value=
"2552"
<?
if
(
$year2
==
"2552"
){
echo
"selected"
;}?>>2552</option>
334.
<option value=
"2553"
<?
if
(
$year2
==
"2553"
){
echo
"selected"
;}?>>2553</option>
335.
<option value=
"2554"
<?
if
(
$year2
==
"2554"
){
echo
"selected"
;}?>>2554</option>
336.
<option value=
"2555"
<?
if
(
$year2
==
"2555"
){
echo
"selected"
;}?>>2555</option>
337.
<option value=
"2556"
<?
if
(
$year2
==
"2556"
){
echo
"selected"
;}?>>2556</option>
338.
<option value=
"2557"
<?
if
(
$year2
==
"2557"
){
echo
"selected"
;}?>>2557</option>
339.
<option value=
"2558"
<?
if
(
$year2
==
"2558"
){
echo
"selected"
;}?>>2558</option>
340.
</select>
341.
</span></p>
342.
<p>ที่อยู่ปัจจุบันเลขที่
343.
344.
<input name=
"numhome"
type=
"text"
id=
"numhome"
value=
"<?=$numhome?>"
size=
"15"
/>
345.
หมู่ที่
346.
<input name=
"village"
type=
"text"
id=
"village"
value=
"<?=$village?>"
size=
"10"
/>
347.
ซอย
348.
<input name=
"soi"
type=
"text"
id=
"soi"
value=
"<?=$soi?>"
/>
349.
ถนน
350.
<input name=
"road"
type=
"text"
id=
"road"
value=
"<?=$road?>"
/>
351.
</p>
352.
<p>แขวง/ตำบล <span
class
=
"style67"
>
353.
<input name=
"district"
type=
"text"
id=
"old_district"
value=
"<?=$district?>"
/>
354.
</span> เขต/อำเภอ <span
class
=
"style67"
>
355.
<input name=
"border"
type=
"text"
id=
"old_border"
value=
"<?=$border?>"
/>
356.
</span> จังหวัด <span
class
=
"style67"
>
357.
<input name=
"province"
type=
"text"
id=
"old_province"
value=
"<?=$province?>"
/>
358.
</span></p>
359.
<p>รหัสไปรษณีย์ <span
class
=
"style67"
>
360.
<input name=
"post"
type=
"text"
id=
"old_district2"
value=
"<?=$post?>"
/>
361.
</span> เบอร์บ้าน <span
class
=
"style67"
>
362.
<input name=
"hphone"
type=
"text"
id=
"old_district3"
value=
"<?=$hphone?>"
/>
363.
</span> เบอร์นักศึกษา <span
class
=
"style67"
>
364.
<input name=
"sphone"
type=
"text"
id=
"old_district4"
value=
"<?=$sphone?>"
/>
365.
</span></p>
366.
<p>ชื่อบิดา
367.
368.
<input name=
"fname"
type=
"text"
id=
"fname"
value=
"<?=$fname?>"
/>
369.
สกุล
370.
371.
<input name=
"flastname"
type=
"text"
id=
"flastname"
value=
"<?=$flastname?>"
/>
372.
เบอร์โทร
373.
<input name=
"fphone"
type=
"text"
id=
"fphone"
value=
"<?=$fphone?>"
/>
374.
</p>
375.
<p>ชื่อมารดา
376.
377.
<input name=
"mname"
type=
"text"
id=
"fname"
value=
"<?=$mname?>"
/>
378.
สกุล
379.
380.
<input name=
"mlastname"
type=
"text"
id=
"flastname"
value=
"<?=$mlastname?>"
/>
381.
เบอร์โทร
382.
<input name=
"mphone"
type=
"text"
id=
"mphone"
value=
"<?=$mphone?>"
/>
383.
<br>
384.
<br>
385.
<input type=
"hidden"
name=
"id"
id=
"id"
value=
"<?=$id?>"
>
386.
<input type=
"hidden"
name=
"file"
id=
"file"
value=
"<?=$file?>"
>
387.
<input name=
"Submit"
type=
"submit"
value=
"ส่งข้อมูล"
> <input type=
"reset"
value=
"เรียกค่าเดิม"
>
388.
</p>
389.
</center >
390.
</form>
391.
<div align=
"center"
><a href=
"javascript:window.close();"
>ปิดหน้านี้</a></div>
392.
</body>
393.
</html>