efolia Posted June 28, 2006 Share Posted June 28, 2006 EDITed out.I figured it out. :-)I wrote a method to save and restore the state of the (and only the) dynamically assigned variables so they can be stored in a mySQL table and restored later. It's the only way, since the class itself (XTemplate, in this case) is using too many internal variables (including referenced and recursive data) to make using get_object_vars() or serialize() a practical option. ___________________________ Link to comment https://forums.phpfreaks.com/topic/13100-how-to-store-an-object/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.