note 7585 deleted from Session handling functions by sas

From: Date: Thu, 17 Aug 2000 21:06:48 +0000
Subject: note 7585 deleted from Session handling functions by sas
Groups: php.notes 
Request: Send a blank email to php-notes+get-2225@lists.php.net to get a copy of this message
With reference to using arrays as session variables: declaring it in session_register() seems not to work ... <br><br> session_register($ARRAY[]) will throw up a fatal error. Instead, try: <br><br> session_register($ARRAY); // declare session variable<br> $ARRAY = array(); // set variable type<br> <br> Then continue as normal. Apologies if this is trivial, but I'm new at this, and I noticed other people had a similar problem to mine.

« previous php.notes (#2225) next »