<?php page_open(array("sess" => "Shop_Session")); $sess->register("s"); // See "Session class" for explanation. ?> <html> <h1><?php print ++$s ?></h1> </html> <?php page_close(); ?>