RE: RE: Displaying a single picture...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux