How to retrieve images from mysql

Codes here !

Moderators: macek, egami, gesf

epraveen
New php-forum User
New php-forum User
Posts: 1
Joined: Sun Aug 19, 2012 10:08 pm

How to retrieve images from mysql

Postby epraveen » Sun Aug 19, 2012 10:13 pm

Hi guys,

Im new to PHP. I need to display an image that is stored in mysql.

How can I display

Give me sample code or example

Please help me

NigelRen
php-forum Active User
php-forum Active User
Posts: 450
Joined: Fri Aug 05, 2011 9:53 am

Re: How to retrieve images from mysql

Postby NigelRen » Sun Aug 19, 2012 11:01 pm

Assuming that your image is stored in a BLOB - you should find loads of examples of code using Google with 'php mysql blob', there are even examples of full scripts for gallery type pages.

cjan
New php-forum User
New php-forum User
Posts: 3
Joined: Sun Apr 15, 2012 11:32 pm

Re: How to retrieve images from mysql

Postby cjan » Sun Aug 19, 2012 11:24 pm

for this you need to code yourself. then whenever you face problem then you can post your problem. then we can help you. by coding all the requirements is not possible here.

regards
cjan


Return to “mySQL & php coding”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron