Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualwicked357

Posted 21 August 2012 - 11:42 AM

You could do something like

<?php

// Connect to DB

// Increment hits by 1

// Redirect to page
header(...);

?>

or redirect then on the otherpage.php you can increment and put that in the db

I would personally use MySQL for keeping track of page hits.

#3wicked357

Posted 21 August 2012 - 11:41 AM

You could do something like

<?php

// Connect to DB

// Increment hits by 1

// Redirect to page
header(...);

?>

or redirect then on the otherpage.php you can increment and put that in the db

#2wicked357

Posted 21 August 2012 - 11:40 AM

You could do something like

<?php

// Connect to DB

// Increment hits by 1

// Redirect to page
header(...);

?>

#1wicked357

Posted 21 August 2012 - 11:40 AM

You could do something like

[source lang="php"]<?php// Connect to DB// Increment hits by 1// Redirect to pageheader(...);?>[/source]

PARTNERS