Welcome Guest, Not a member yet? Register   Sign In
show image
#1

[eluser]Unknown[/eluser]
how to show image file from database??
#2

[eluser]jentree[/eluser]
I personally would not store the actual image in the database unless there is good reason.
I would store the file name ('myimage.jpg") then in your view:

Code:
<img src="/path-to-your-image/&lt;?php echo $data['filename']" />

...Something like that.
#3

[eluser]InsiteFX[/eluser]
Or use CodeIgniter HTML Helper's img tag!

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB