php - problems with display image from the database -


this question has answer here:

i have image store in the database iam not able display them the image in database want diplay image here

<div class='panel-body $body_class' style='height:190px; word-wrap: break-word; overflow: auto;'>   <img src='data:ads;base64' '>   <p class='adtext'>$row_ad->text</p> </div> 

this how can it.

<div class='panel-body $body_class' style='height:190px; word-wrap: break-word; overflow: auto;'>   <img src='data:image/jpeg;base64,<?php echo $row_ad->image;?>' />   <p class='adtext'><?php $row_ad->text ?></p> </div> 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -