How can I have an object class store into PHP session and then get it in my next page as variable. Could you help?
Here is my class.inc.php
class sho
Once you instantiate the class you can assign it to the session (assuming it's started)
$_SESSION['SomeShop'] = new Shop(); or $Shop = new Shop(); //stuff $_SESSION['SomeShop'] = $Shop;
Keep in mind that wherever you access that object you will need the Shop Class included.