Php - Fetch blob image type mysql, Display the BLOB image in php
Fetch blob image type mysqlHow to fetch blob datatype from mysql useing php.
$result = mysql_query($MainSQL,$link); $row =mysql_fetch_array($result,MYSQL_BOTH); $data = $row; echo "<img src='data:image/jpeg;base64," . base64_encode($data) . "' />";
The images are stored in mysql Database as blob type. They can be fetched from mysql database and displayed in php using above code.
The topic on Php - Fetch blob image type mysql is posted by - Math
Hope you have enjoyed, Php - Fetch blob image type mysqlThanks for your time