01.
<table width=
"500"
border=
"1"
/>
02.
<tr>
03.
<td><center><label> ID </label></center></td>
04.
<td><center><label> ประเภทผู้ใช้ </label></center></td>
05.
<td><center><label> สาขา </label></center></td>
06.
<td><center><label> ดำเนินการ</label></center></td>
07.
</tr>
08.
<?php
while
(
$show
= mysql_fetch_array(
$sql
)){
$_SESSION
[
'id'
]=
$show
[
'UType'
]; ?>
09.
<tr>
10.
<td><center><?php
echo
$show
[
'UType'
];?></center></td>
11.
<td><?php
echo
$show
[
'UTName'
]; ?></td>
12.
<td><?php
echo
$show
[
'MajorName'
]; ?></td>
13.
<td><center><a href=
"../Editform/UTypeEdit.php?"
/><input type=
"button"
value=
"แก้ไข"
/></a>
14.
<a href=
"../Deleteform/UTypedelete.php"
/><input type=
"button"
value=
"ลบ"
/></center></a></td>
15.
</tr>
16.
<?php
17.
session_write_close; }
18.
?>
19.
</table>