Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- transffering variables (NEWBIE)
November 16, 2005, 10:22 am
rate this thread
i have one page with thumbnails and i want to when
clicked on thumbnail to open a new page called pop.php
with original image in it, its not a problem to open
the original image as new pop up window i know but
i want to open the image in pop.php so i can do some
other stuff with it ..
basicaly the code on thumbnail page looks like this
print "<img src=\"$f\" alt=\"Open in popup window\" border=\"5\"
how the pop.php page can be aware what image i want to display in it,
i assume it's possible with cookie or even a hidden form element
but this is not the way i want of course :-)
i tried with pop.php?$photo_name but ... :-(
pop.php looks something like this ...
print "<img src=\"$photo_name\" width=\"$width\" height=\"$height\"
and that should be enough to display the right image, right ?
any clues ?