>Hello could somone please explain to me HOW I serialize classes into session >and how I get the on the next page!?? > >Must I do $object = new ObjectName on the next page for the object to be >used??
No. Try this. File test.inc------------------------------------------ <?php class Object{ var $name; var $id; function pt(){ print ($this->id).":".($this->name); } } ?> ------------------------------------------------------- File test.php------------------------------------------ <?php require_once("test.inc"); session_start(); session_register("obj"); if(!$obj) $obj=new Object(); $obj->id++; $obj->name.="@"; $obj->pt(); ?> <br><br> <a href='test.php'>Next</a> -------------------------------------------------------- And open test.php with your brouser & click 'Next'. No special serialization is required. Regards, Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php