Re: [PHP] Newbie: nested include and object in session

2002-11-21 Thread Ernest E Vogelsinger
At 04:30 21.11.2002, Michael Wai said: [snip] >Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to >get some help. > >1. How to solve the problem of nested include? That's mean A include B and B >include C. Just do it, it works perfec

Re: [PHP] Newbie: nested include and object in session

2002-11-20 Thread Jonathan Sharp
1. see php.net/include_once 2. Yes $_SESSION['foo'] = new foo(); $myFoo = &$_SESSION['foo']; $myFoo->var = 123; /* page2.php */ $myFoo = &$_SESSION['foo']; echo $myFoo->var; -js Michael Wai wrote: > Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to > get some help.

[PHP] Newbie: nested include and object in session

2002-11-20 Thread Michael Wai
Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to get some help. 1. How to solve the problem of nested include? That's mean A include B and B include C. 2. Can I save the object in session? Thanks for your great help!! Regards, Michael -- PHP General Mailing List (h