01.
<?
02.
$sql
=
"select * from applicant,files where applicant.IDCard='$login_true' and applicant.IDCard = files.IDCard"
;
03.
$res
= mysql_query(
$sql
);
04.
while
(
$rs
= mysql_fetch_array(
$res
))
05.
{
06.
echo
"<a href=photo/$rs[FilesName] target=_blank><img src=photo/$rs[FilesName] width=150 height=150>"
;
07.
?>
08.
<a href=member_detail.php?flag=del&FilesID=<?=
$rs
[
'FilesID'
]?>
class
=
"fonts"
onClick=
"return confirm('ยืนยันการลบรูปภาพ ?');"
>ลบ</a>
09.
<?
10.
}
11.
?>