Pass if via the URL

<a href="yourlink.php?picture_data=whatever">Link</a>

On the display page, access the data you passed by...

$_GET['picture_data']

Do a google search for "get query".

Ron Clark wrote:
Hello all,

I have a php script that reads all the files in a directory (pictures), the
outputs each picture as a link to be displayed in the main frame of the html
page. All of that works fine. I want to be able to "pretty up" the picture
out put by placing the picture into a html table so it is centered, add
color, etc. But I cannot seem to figure out how to pass the variable from
the menu page to the main frame page without using a goofy gray button form.
Anyone know how to pass a variable on just a link alone?

Thanks,
Ronnie




--
By-Tor.com
It's all about the Rush
http://www.by-tor.com


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

Reply via email to