In a previous entry I touched upon why learning php/MySQL is valuable for videogame development. In this 30 minute video tutorial, I’ll help you get started:
WARNING: Be aware that because this is very introductory, little/no attention has been paid here to security. Before inviting the public, Google for “SQL injection attacks” (when user input includes SQL syntax to perform unintended operations) to learn how to sanitize user input and be more careful about formulating SQL queries to protect against such issues. Only trusted users or the developer herself/himself should use this form in its current state.
Source file download, including a dump of the resulting database from this example: php-db-hobbygamedev.zip. A few extra entries are included, from my tinkering and testing.
Learn and practice team game development with Gamkedo Club.
Membership worldwide. Professional support. Proven process.
Subscribe by e-mail to receive weekly updates with Gamkedo.Community interviews and YouTube training videos for game developers!