Wednesday, September 24, 2008

[php_mysql] how to download image from data base

Dear Sirs

i want to download the image,mp3 ringtone from php page. i have stored
all the images in mysql. below is the code me working on

echo '<td width="' . $colWidth . '%">' . '<img src="images/' . $row
['image_path']

plz someone tell me how i can put a hyper link on it that when i click
on it browser default dialogue box open to download the image. the
images are stored in mysql. All images have image_id (auto increment).

plzz help me out and how i can put the up my desirous code.

regards


------------------------------------

The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/php_mysql/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:php_mysql-digest@yahoogroups.com
mailto:php_mysql-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
php_mysql-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

No comments: