i created a form which store clients passports in my database. i want to retrive the images but its has not been giving me the images on the screen. instead , it write long alphabeth of different symbols .
below is my codes , pls help me out. thanks
$sql = "SELECT * FROM `file` WHERE id = 8";
$mq = mysqli_query($dbconnect, $sql) or die ("not working query");
$row = mysqli_fetch_array($mq) or die("line 44 not working");
$s=$row['data'];
echo $row['data'];
echo '<img src="'.$s.'" alt="HTML5 Icon" style="width:128px;height:128px">';
what is wrong with my codes please.
thanks
die()messages onto a production server.