Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //simple counter to test sessions. should increment on each page reload.
- session_start();
- $count = isset($_SESSION['count']) ? $_SESSION['count'] : 1;
- echo $count;
- $_SESSION['count'] = ++$count;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement