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
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.
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
3 matches
Mail list logo