Re: Passing variable to the next page
| From: | Pushkar Pradhan | Date: | Wed, 05 Jun 2002 04:02:05 +0000 |
| Subject: | Re: Passing variable to the next page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100649@lists.php.net to get a copy of this message | ||
Tag the variables onto the url:
http://mysite.com/newpage.php?firstvar=somevalue&secondvar=othervalue&.....
for arrays
?layer[]=a&layer[]=b&layer[]=c.....
or use sessions.
> Here is scenario that I am working on but have a
problem. I have 10
> thumbnail images on the page with information for them created from
> database.
>
> For example:
>
>
>
> ++++++++++++
>
> + +
>
> + Some Image +
>
> + +
>
> ++++++++++++
>
> Name of Image: Blah
>
> Author of Image: Blah
>
>
>
> (I am pulling more info about that image from database, but on this page
> I only display "Name of Image" and "Author of image," the rest of the
> info is stored in variables.)
>
>
>
> I want my users to click on the thumbnail. When they do I want a new
> window to open and I want information for that particular image that
> they clicked (along with other info that stored in variables for the
> same image) to be passed to that new opened page. How can I pass
> information about that particular image to the new page? Any ideas?
>
>
>
> Please Help.
>
>
-Pushkar S. Pradhan