Page 1 of 1

Posting a value to another page

Posted: Wed Feb 01, 2012 9:37 am
by Rob_Scott
Hi,

I am trying to send the value of an image to another page,

Any ideas how i would do this?

Thanks,

Rob

Re: Posting a value to another page

Posted: Wed Feb 01, 2012 9:52 am
by Celauran
What do you mean by 'the value of an image'? What is it you're trying to accomplish?

Re: Posting a value to another page

Posted: Wed Feb 01, 2012 9:56 am
by Rob_Scott
I just want to pass the value of a variable to another page using a linked image.

Re: Posting a value to another page

Posted: Wed Feb 01, 2012 10:04 am
by Celauran
You can use POST or GET, sessions, cookies; all depends what you're trying to do and how sensitive the data is.

Re: Posting a value to another page

Posted: Wed Feb 01, 2012 10:16 am
by Rob_Scott
I am using drupal and it is just the page number.

I want the number so i can populate a product page template dynamically without having to create a individual page for each product.

Thanks for the help.