How to find out, how a user visited a particular page ?

Answer : We add a counter in that page….

How to find out, how a user visited a particular page ?

  • We add a counter in that page.
  • When a page load that counter value will increase.
  • For storing its previous value we can use session, database etc.
<?php
$counter++;
?>
Leave a Reply

Your email address will not be published.

You May Also Like