Posting variables from one page to another
Moderator: General Moderators
Posting variables from one page to another
Can php post variables directly from one page to another? I don't want to use GET as it clutters up the URL, and I don't have any FORM elements to POST. Can you just send some php variables as key/value pairs from one script to the next? Sorry if this topic has been done to death - I'm probably missing something obvious.
Ah - all I wanted was an image link that worked like a back button to take you back to the gallery page you had come from (there are more than one).
I found a way of doin it in java script:
I found a way of doin it in java script:
Code: Select all
<a href="javascript:history.back()">link</a>