RE: [PHP-DB] RE: Displaying a single picture...
| From: | John W. Holmes | Date: | Tue, 12 Nov 2002 23:22:52 +0000 |
| Subject: | RE: [PHP-DB] RE: Displaying a single picture... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23275@lists.php.net to get a copy of this message | ||
> I have several thumbnail images spread out in my website. I thought
it
> would be cool to write a single PHP script so that when they click on
the
> thumbnail, the name of the larger pic would be passed to a PHP script
that
> displays it on its own page...I don't even care about a link back,
they
> can
> just click the browser's back arrow.
>
> How do I get the name stored when they click on the thumbnail?
>
> My confusion is, I'm seeing this one dimensionally. You click on an
> image,
> it calls a link. But I need to click on the image, store the name of
the
> pic I want to display, then call the PHP link.
Hmmm... how about:
<a href="display.php?image=foo.jpg"><img src="foo.jpg"></a>
??
---John Holmes...