I wish to pass a session variable into an object and have it available as
an attribute. I have what I thought I needed below as a code segment but
it douse no work. Has anybody got any idea how I should achieve this.
Ben
..
class Contacts{
var $db;
array $SESSION;
Hello,
This is a reply to an e-mail that you wrote on Fri, 8 Aug 2003 at
14:18, lines prefixed by '' were originally written by you.
I wish to pass a session variable into an object and have it
available
as
an attribute. I have what I thought I needed below as a code
segment
but
it douse no
array $SESSION; near the beginning gives the error
Parse error: parse error, unexpected T_ARRAY, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}' in
d:\wwwroot\stwerburghs.org\obj\contacts.obj.php on line 6
Fatal error: Cannot instantiate non-existent class: contacts in
Hello,
This is a reply to an e-mail that you wrote on Fri, 8 Aug 2003 at
15:54, lines prefixed by '' were originally written by you.
array $SESSION; near the beginning gives the error
Parse error: parse error, unexpected T_ARRAY, expecting
T_OLD_FUNCTION
or
T_FUNCTION or T_VAR or '}' in
4 matches
Mail list logo