Need help with adding scores to a php database!

BlitzMax Forums/BlitzMax Beginners Area/Need help with adding scores to a php database!

Steve The Rock(Posted 2009) [#1]
Hi. I'm new to programing, but I pick things up fast. I'm using MaxIDE version 1.34. I have made a simple snake game and I would like to upload high scores to a php database so they can be displayed online. Has anyone got a simple example program to give me an idea of how to do this?


johnnyfreak(Posted 2009) [#2]
I did something similar some time ago.
I used a MySQL Data Base and a php page to show the score.

To update your database take a look at Brucey's mods. His mod has some examples showing how to access and update a DB from BMax.


xlsior(Posted 2009) [#3]
I suggest to take a look at ETNA -- it has blitzmax code, plus the corresponding PHP/MySQL to put on the server to make everything work, especially for highscore tables.

http://repeatuntil.free.fr/Etna/
Free to use, as long as you tell them what you use it for.


Steve The Rock(Posted 2009) [#4]
Thank you guys. I'll look at both :)