Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <table border='1' align='center'>
- <tr><th>id Mobil</th><th>Ket</th><th>Aksi</th></tr>
- <?php
- include 'config.php';
- $query = "SELECT * FROM mobil ";
- $exe = mysql_query($query);
- $no = 1;
- while($row = mysql_fetch_assoc($exe)){
- $a = $row['id'];
- $b = $row['ket'];
- echo "<tr><td>$a</td><td>$b</td><td><a href='simpan.php?id=$a'> SIMPAN </a> </td></tr>";
- $no++;
- }
- ?>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement