How to pass state around

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
Bison
Forum Newbie
Posts: 4
Joined: Fri Mar 05, 2004 7:36 pm

How to pass state around

Post by Bison »

Hi,

What's the way to keep track of the state for e.g. a tree menu? I downloaded "The PHP Layers Menu System" from
http://phplayersmenu.sourceforge.net/
which among other things has a tree-menu implemented in PHP.

The tree menu is really nice, but being new to PHP I am not sure how to pass the state of the menu from one page to another. How do you PHP-buffs out there do it?

Regards.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

sessions

read this tutorial about sessions - viewtopic.php?t=6521

Mark
Post Reply