note 15602 added to language.oop.serialization
| From: | william at scriptingbiz dot com | Date: | Sat, 22 Sep 2001 03:03:47 +0000 |
| Subject: | note 15602 added to language.oop.serialization | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18163@lists.php.net to get a copy of this message | ||
When storing an object that was generated with:
$row = mysql_fetch_object($result)
there is no apearent way to define the class of that object in the next page, without querying the
database, and fetching a row as an object. This needs to be done so any such objects can be
restored (deserialized) from a PHP4 Session.
It needs to be done before session_start() or session_register().
http://www.php.net:8070/manual/en/language.oop.serialization.php