Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $b=mysql_query("select*from detail");
- while($c=mysql_fetch_array($b)){
- echo "<table border=0><tr><td>Kode : </td><td>".$c[0]."</td></tr>
- <tr><td>Nama : </td><td>".$c[1]."</td></tr>
- <tr><td>Stok : </td><td>".$c[2]."</td></tr>
- <tr><td colspan=2><img src=\"gambar/".$c[0].".jpg\" /></td></tr></table>";
- }
Add Comment
Please, Sign In to add comment