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

c# - Get the Class name in a class with atribute inside a attribute method -

java - How to compare two classes -

javascript - Why Selenium can't find an element that is graphically visible -