Saving images in PHPmyAdmin
Posted by: Kan20 (59.95.27.---)
Date: July 09, 2009 02:12PM

Hello:

I want to create a PHP page wherein the images should be displayed from the the database. So my question is: How do I save the images in PHPMyAdmin?


~ K

Options: ReplyQuote
Re: Saving images in PHPmyAdmin
Posted by: yfastud (Moderator)
Date: July 09, 2009 02:58PM

use blob but it really hog your mysql server so you should only save index for images instead winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Saving images in PHPmyAdmin
Posted by: Kan20 (59.95.36.---)
Date: July 10, 2009 08:53AM

Thanks for the reply, but I'm new to PHP, didn't understand what " save index of images" means. Could you please clarify more.

~ K

Options: ReplyQuote
Re: Saving images in PHPmyAdmin
Posted by: yfastud (Moderator)
Date: July 10, 2009 05:04PM

instead saving the whole image in db, you save images in your pc/server then only save indexes for images in db such as imageID, imageName, imageSize, imagePath, so on...

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Saving images in PHPmyAdmin
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 10, 2009 06:40PM

Here are a few tutotials on uploading images to MySQL (NOTE: phpmydmin is not a database, it is a webtool to manage MySQL).

[php.about.com]
[www.phpriot.com]

Before reading the tutorials make sure you have a basic understanding of SQL and PHP. If you do not undetstand the basics you may strugle understanding the code.

Options: ReplyQuote


Sorry, only registered users may post in this forum.