Re: [PHP] Oject passed via session error
You need to declare the class before you call session_start(). Otherwise it can't create the object properly. Peter Lauri wrote: Hi, I do this: The output will be the following with print_r of the $_SESSION: Array ( [ns_cart] => nscart Object (
[PHP] Oject passed via session error
Hi, I do this: The output will be the following with print_r of the $_SESSION: Array ( [ns_cart] => nscart Object ( [myProducts] => Array ( [0] => ns_product Object ( -