can somebody help me with this little problem here. I am a newbie and I am trying to display an image with a blob data type from my post database table. I do not know where am i going wrong but here is my code.
$res = $conn->query("SELECT post.postid, post.message,post.photo, post.posted_on, users.username FROM 
                          post INNER JOIN users ON post.userid = users.userid ORDER BY
                          post.posted_on DESC LIMIT 10");
   $result = "";
    while($row = mysqli_fetch_array($res)){
            20204040
            $image = $row['photo'];
            $result.= '<hr/><form method="post" enctype="multipart/form-data">
            <div  class="w3-light-grey w3-padding w3-round-xlarge w3-margin-60">'.
            '<strong> @'.$row['username'].'</strong>'.
            '</span>'.'<br/> '.
            '<span class ="ka">'.$row['message'].'</span>'.
            '<img src="image/$image"/>'.
            '<br/>'.
            '<span class="fa fa-comment w3-text-indigo"></span>'.
            '<a href="#" id="'.$row['postid'].'" class="w3-text-indigo w3-small w3-border-0 w3-light-grey"'.
            ' data-toggle="modal" data-target="#replyModal">'."Reply".'</a>'.
            '<span class ="w3-tiny">'.$row['posted_on'].'</div></form>';
    }
 
     
     
    