Need help with adding scores to a php database!
BlitzMax Forums/BlitzMax Beginners Area/Need help with adding scores to a php database!
| ||
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? |
| ||
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. |
| ||
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. |
| ||
Thank you guys. I'll look at both :) |