Page 1 of 1

PHP Text Counter

Posted: Mon Jan 05, 2015 9:24 pm
by tyee
This counter is working good. However I want to change the font color. Any one have any tips?
Can I add it within the <script> tags??

Re: PHP Text Counter

Posted: Mon Jan 05, 2015 10:08 pm
by Henrie
If you are referring to php text hit counter

In the page that should display the number of hits, you would include code like this in the <body> of your page

Code: Select all

<script type="text/javascript" src=counter.php?page=test"></script>
to change color you could change it to

Code: Select all

<span style="color:red;"><script type="text/javascript" src=counter.php?page=test"></script></span>
Greetings,
Henrie