Thread
:
Database and images
View Single Post
#
2
(
permalink
)
Mar 28th, 2008, 17:51
Jack Franklin
Resources Administrator
Join Date: May 2007
Location: Cornwall, England
Posts: 1,268
Blog Entries:
7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Database and images
Well you save the image to a location eg
www.yoursite.com/bills/fred_blogs.jpg
In your database you store the URL.
Then call it like so:
PHP
:
Select all
(
Get data from db
and
then
)
echo
'<img src="'
.
$imageURL
.
'" alt ="Bill" />'
;
__________________
Resources Administrator
Grilling Gurus - Interviews with the Best Web Designers and Developers in the Industry
Got a Question for Ryan Carson and his Web Design/Development team Carsonified?
Jack Franklin - My Blog
(It's a Pen in My Mouth BTW)
Jack Franklin
View Public Profile
Visit Jack Franklin's homepage!
Find all posts by Jack Franklin
View Blog