note 15602 modified in language.oop.serialization by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 19:50:18 +0000 |
| Subject: | note 15602 modified in language.oop.serialization by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25284@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().
--was--
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/manual/en/language.oop.serialization.php