Put the image's filename into the database.
Use it in the HTML code on the page, e.g.,
<img src="/images/formula1/redcars/<?php filename ?>"....
That way, when your path changes, you can change it in the HTML and not in
the database.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"davebusey" <webforumsusermacromedia.com> wrote in message
news:dnacaf$ts$1forums.macromedia.com...> Ok - so i want to take my "project" to the next step. i hope. I currently
> have
> a dynamic table, that is populated by MySQL database, using PHP. this
> table
> just holds text URL's etc. I would like to be able to display images as my
> next
> step, but not sure where to start. I presume i simply hold file locations
> in a
> field, which points to my image file on the host server. How do i call
> this
> into my table!??
> Have i got the wrong end of the stick?
> Any help would be great.
> Ta
> Dave
>
Bookmarks