That should show only the highest score. But it still has the same loading time because it reads more rows than just one. If you want to reduce the loading time (so that only the highest score is loaded), edit the returnscores.php to something like this:
Which is great and all but byethost doesn't support things coming in from games so that's no use.
Why don't the first two links work? They're exactly the same file, just different MySQL host.
Edited by the Author.
theonecardgame.com
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
21st January, 2008 at 19:07:53 -
PHP pages are run server-sided, and Sitesled does not provide the PHP service. That's why PHP pages won't work on Sitesled.
Byethost SHOULD be able to fetch your game's data and put it into the database... after all, once you logged into the MySQL database correctly you can fetch and insert any data into the database you like. Well, if your roles are set up correctly, anyway.
I've looked around the freemysql.net site and can't find anywhere to upload the displayscores.php and submitscore.php files. Is it possible to upload them to another php server and have it link back to the database and freemysql.net?
I've looked around the freemysql.net site and can't find anywhere to upload the displayscores.php and submitscore.php files. Is it possible to upload them to another php server and have it link back to the database and freemysql.net?
If so, what's a good php server to upload them to?
theonecardgame.com
DaVince This fool just HAD to have a custom rating