1
General discussions / Database support?
« on: May 07, 2011, 06:46:56 pm »
It sounds like you're very new to programming (at least in PHP and C++).
You're saying you'll have a website that shows stats? The easiest way to do this would be to use SQLite as bastien says. PHP has support for SQLite as well. If you want mysql, I would suggest writing the data manipulation in PHP and just having the game server send an HTTP request to the PHP server for processing. The MySQL connector for C/C++ is a pain to work with, and it will be much easier (and cleaner) just using PHP.
Do some research on the suggestions you've received. It sounds like you need to before you make any decisions.
You're saying you'll have a website that shows stats? The easiest way to do this would be to use SQLite as bastien says. PHP has support for SQLite as well. If you want mysql, I would suggest writing the data manipulation in PHP and just having the game server send an HTTP request to the PHP server for processing. The MySQL connector for C/C++ is a pain to work with, and it will be much easier (and cleaner) just using PHP.
Do some research on the suggestions you've received. It sounds like you need to before you make any decisions.