How to send variables to the next page but not display them

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ianhull
Forum Contributor
Posts: 310
Joined: Tue Jun 14, 2005 10:04 am
Location: Hull England UK

How to send variables to the next page but not display them

Post by ianhull »

Anyone help with send variables to next page but not displaying them?

Thanks
AGISB
Forum Contributor
Posts: 422
Joined: Fri Jul 09, 2004 1:23 am

Post by AGISB »

Sessions
ianhull
Forum Contributor
Posts: 310
Joined: Tue Jun 14, 2005 10:04 am
Location: Hull England UK

Post by ianhull »

Can you help me more with this one?

How would I setup a session to retrieve the data?

Thanks
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Have a good read over the manual.. explains it all in great detail :wink:
http://ca3.php.net/session
andylyon87
Forum Contributor
Posts: 168
Joined: Sat Jan 31, 2004 5:31 am
Location: Dundee

Post by andylyon87 »

I dunno if you wanna do it a lot in which cas the sessions are the way forward because they are more powerful than my suggestion.

You could use hidden fields on a form to pass values and variable between pages while you learn about sessions, but Id defo use sessions once you get the hang of um because theyre brill :)
Post Reply