Search Tutorials
HTML IncludeIt is possible to create an HTML high score list right in your game's webpage. This has the powerful feature of allowing players to see today's top scores without having to enter the game. It could look something like this:
In order for this to work, the page that is containing this table must be a PHP page as well (for example, index.php). Insert the following code into your HTML wherever you want the table to appear: <? php $filen = "http://www.myscore.com/scores.php?filename=scores/score.sco&scoresize=10&action=VIEW&viewtype=HTML"; include($filen); ?> With that code, you can have dynamic high score lists in any webpage. If you want to change the appearance of the HTML table within the HTML page, you're going to have to search in scores.php for the following code: if ($viewtype == "HTML")
{
Below this code you will find the formatting, color, font and size settings for the table. Modify this at your own risk!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|