June 2, 200818 yr How would I make a hit counter, that will update every time someone plays a video on my website... Is there a way to do that in PHP? Thanks, -Meshach
June 3, 200818 yr How would I make a hit counter, that will update every time someone plays a video on my website... Is there a way to do that in PHP? Thanks, -Meshach You could create a database with one table and one entry just the number of hits. when the page loads retrieve the data from the table and display it on the page +1 then further down the page update the database with +1. make sense?
June 3, 200818 yr Author I don't quite understand... If you could direct me to a tutorial it would be much appreciated
June 4, 200818 yr http://www.sitepoint.com/article/php-mysql-tutorial/2 Is a good tutorial. Create a single field database that increments on page loa is the idea. The tutorial will show you php/mySql.
Create an account or sign in to comment