Re: passing variable question

From: Date: Mon, 11 Nov 2002 22:18:15 +0000
Subject: Re: passing variable question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123903@lists.php.net to get a copy of this message
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

« previous php.general (#123903) next »