Re: Help needed - need to access a value from DB into all pages

From: Date: Mon, 22 Jan 2001 00:03:33 +0000
Subject: Re: Help needed - need to access a value from DB into all pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85794@lists.php.net to get a copy of this message
Janet, I think you probably need to investigate the concept of sessions. You were a bit sketchy on details, but it sounds like this is what you want. If you'd like more help, post to the list, or contact me directly at michael@tapinternet.com (aim:mgkimsal) Wg4- Cook wrote:
Hi there, I am struggling with a concept and can't seem to find a way to do it so hoping you all can help.
My question is how do I make this variable available to all pages?? Do I have to include it with the variables passed to each page or is there a simpler way of doing it. Can I put the variable in an include file and include it in every page - will that work?. Surely someone must have had a similar situation before and can tell me how they solved it. Many thanks Janet


« previous php.general (#85794) next »