Nubie scripting question
| From: | revDAVE | Date: | Sun, 19 Sep 2004 15:36:51 +0000 |
| Subject: | Nubie scripting question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197193@lists.php.net to get a copy of this message | ||
I would like to set up a situation where I have one main page with a bunch
of thumbnail pictures on it. Each will have a link to a larger photo.
However, rather than just simply loading a raw JPEG to a blank page, I
would like to use PHP, so that each link will point to 1 main php display
page - that I can program to look nice and display all the images from this
one page - one at a time - of course.
So - the thumbnail links would look something like this:
<a href="http://www.mydomain.com/display.php?pic=pic1.gif"
><img
src="pic1thumb.gif" alt="deals"></a>
This URL addition: ?pic=pic1.gif (will carry the name of the picture to be
loaded)
Q: here is what I am unclear of: since I do not know PhP - how do I get the
main display page to read this part of the URL?
<img src="??? Url.pic ???" alt="deals"> - how do I write this?
thanks in advance for your help
--
Thanks - RevDave
Lists@domains4days.com
[db-lists]
Check out some great Domain Names at:
http://www.domains4days.com