faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 21 people (43%) answered Yes
Recently 7 of 10 people (70%) answered Yes


How can I display a PHP hit counter within a HTML form input text box?

Feb 22nd, 2007 15:13
Articles Hosting, General Goldphish, n byrd,

just use a counter script that outputs as text.  lets say the number of
hits is $counter.
<input type="text" name="counter" value="$counter">
i hope that helps.