Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'koneksi.php';
- $id = intval($_GET['id']);
- $q = mysqli_query($conn, "SELECT * FROM testi WHERE id = {$id}") or die(mysqli_error($conn));
- $post = mysqli_fetch_array($q);
- ?><!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Blog</title>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- </head>
- <body>
- <h1 style="text-align: center">Testimoni</h1>
- <hr>
- <p>[ <?php echo $post['name'] ?> | <?php echo $post['kode'] ?> | <?php echo $post['product_stock'] ?> ]</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement