I have developed a counter system for my website. The counter has been implemented with a mySQL database as the backend, PHP as the middle tier and HTML as the front end. I have PHP code that access the database to get how many hits the counter has received.
My PHP code then outputs a Table that says “You are visitor #x”. This code works great if I call a PHP page like ShowCounter.php.
However, I would like to have an HTML page (ShowCounter.html) that can embed the results of ShowCounter.php inside of it.
Is it possible to have an HTML page call PHP and embed the results without having to re-direct to another page, or to a PHP page?
If anyone has successfully implemented this I would be very grateful for your incite.