RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

How insert image into mysql database and retrieve

Join Date: Mar 2006
Location: Florence Ky
Posts: 31
Reputation: DGStudios is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 3
DGStudios DGStudios is offline Offline
Light Poster

Re: How insert image into mysql database and retrieve

  #6  
Apr 15th, 2006
I will agree that it is rare that you would want to do that outside of a data hosting site like that. Otherwise you can just store the url and output it however you want by calling it with php and tellting using the following code

echo '<img src ="'.$imgurl.'">';

That will output it as the image itself. Naturally you can add the formating to it. But I find that method INCREADIBY effective.
http://img.photobucket.com/albums/v6.../dgstudios.jpg
When all that is becomes one. That is the anomoly. That is... Death's Gate Studios (c) 2005
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:39 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC