<?php
include '../../conn.php';

$id=$_GET['blogid'];


$resultdata =$con->query("select * from `blog` where id='$id'");



while($row = mysqli_fetch_array($resultdata)){
    echo json_encode($row); 
}
     
?>