PHP Web Counter
Posted: Sun Mar 25, 2007 1:48 pm
Hi,
I was wondering what I should start on, to make a site counter. I have something, but don't know how to put it in motion:
The $sitecount = "1"; is supposed to be something like $sitecount = $value;, but I don't know how to take the value from the box, to this php tag, without the user having to submit a form, and without a second page loading. Once this counter is in action, it will be no problem to make it add to the value, but I don't know how to get it started. Any help would be much appreciated.
I was wondering what I should start on, to make a site counter. I have something, but don't know how to put it in motion:
Code: Select all
<?php
$sitecount = "1";
//take current value of text box, and add one
$sitecount + 1;
?>