Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'conn.php';
- if(ISSET($_REQUEST['id'])){
- $query = mysqli_query($conn, "SELECT * FROM `blog` WHERE `blog_id` = '$_REQUEST[id]'") or die(mysqli_error());
- $fetch = mysqli_fetch_array($query);
- ?>
- <h3><?php echo $fetch['title']?></h3>
- <p><?php echo nl2br($fetch['content'])?></p>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment