Saya ingin menampilkan image tp multi direktori
dalam folder dbase_karyawan ada 2 folder yaitu :
1. karyawan
1.1. Bcs = ani.jpg
1.2. Km = robi.jpg
1.3. Mbr = Irin.jpg
2. karyawan_subcont
2.1. Bmc = romi.jpg
2.2. Pama = dudi.jpg
2.3. Pbu = satria.jpg
Di dbase mysql udah ada path image yang diupload
<table>
<thead>
<tr class=head>
<th>No.</th>
<th>Nama</th>
<th>Coy.No</th>
<th>Perusahaan</th>
<th>Foto</th>
<th>Edit</th>
<th>Delete</th>
<thead></tr>
<?php
$result = mysql_query("select * from gambar");
while ($fetch_tampil = mysql_fetch_array($result)) {
?>
<tr align="center">
<td><?php echo $fetch_tampil['id'] ?></td>
<td><?php echo $fetch_tampil['nama'] ?></td>
<td><?php echo $fetch_tampil['coy_no'] ?></td>
<td><img src="/<?php echo $fetch_tampil['gambar'];?>' alt="" width=50 height=20></td>
<td> <a href="edit_gambar.php?aksi=edit&id=<?php echo $fetch_tampil['id'] ?>"><img src=images/edit.gif /></a></td>
<td> <a href="?aksi=hapus&id=<?php echo $fetch_tampil['id'] ?>"><img src=images/delete.gif /></a></td>
</tr>
<?php
}
?>
Imagenya belom muncul master..tolong dibantu