I am a php newbie. I would like to count how many times a user visit a
webpage.
I know session tracking should be used, but where i put the code? Is it
inside the html that the user visit?
session_start();
if (!IsSet($page_number))
$page_number = 1;
print("You have now visited $page_number");
print(" of pages <br />");
$page_number++;
$session_register("page_number");
Also, i want to record the number of time a user visit a page and store
it in MySQL. I know how to do it using "form action and submit" way,
but
have no clue of doing it with session tracking .