Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Magazine</title>
- </head>
- <body style="text-align:center">
- <?php
- include 'koneksi.php';
- $id = $_GET['id'];
- $data = mysqli_query($koneksi,"select * from data_artikel where id='$id'");
- while($d = mysqli_fetch_array($data)){
- ?>
- <h2><?php echo $d['judul']?></h2>
- <hr/>
- <img src="<?php echo $d['foto']?>" style="max-height:400px" alt="">
- <hr style="width:750px"/>
- <?php echo $d['deskripsi']?>
- <?php
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement