note 27774 added to language.oop.serialization
| From: | saturne at 37 dot com | Date: | Wed, 18 Dec 2002 14:02:15 +0000 |
| Subject: | note 27774 added to language.oop.serialization | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41061@lists.php.net to get a copy of this message | ||
I need to serialize an array like that :
$array[1][num] = "123456";
$array[1][comment] = "toto";
$array[2][num] = "76543";
$array[2][comment] = "titi";
$array[3][num] = "653";
$array[3][comment] = "tata";
but when I use serialize, it doesn't work. I can only serialize simples array ($array[1] =
"toto";...). So I would like to know how to do, or perhaps it's a bug????
--
http://www.php.net/manual/en/language.oop.serialization.php
http://master.php.net/manage/user-notes.php?action=edit+27774
http://master.php.net/manage/user-notes.php?action=delete+27774
http://master.php.net/manage/user-notes.php?action=reject+27774