I am a beginner here. I have a column type varbinary(max) with images in it and after echoing it, i get a bunch of these random figure on my site:
���*��d���=��O�
Anyone know what this means?
I'm echoing it like this from my database:
include 'DB_Connection';
while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC) ) {
header("Content-type: image/jpg");
echo $row['image'];
}