you need a db based approach, just setup a couple of tables in mysql items table one record per item current cart table one record per each item added to cart with unique session id order table one record per each item ordered with unique order id you'll transfer records here from current cart when user checkout hope help adriano 2005/10/1, Emil Novak <emilnovak@xxxxxxxxx>: > Hi! > > The best way is already presented in PHP manual: > http://www.php.net/oop . In this example you create an object, which > you can - naturaly pass over Session, etc. > > If you'll use OOP (Object-Oriented Programming), it is preffered in > PHP5 to use OOP5 (OOP for PHP5). You can find details on > http://www.php.net/oop5 . > > Emil NOVAK, Slovenia, EU > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php