A user just made this amazing tutorial. I just thought I would share it with you guys. http://php-gaming.co...ur-game-in-php/
Hope you enjoy reading it. Sorry that it is on a different site, but I dont want to copy his work
Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 31 March 2013 - 08:28 AM
Posted 31 March 2013 - 11:53 PM
Also, use parameterized queries to keep searches cleaner and quicker.
You don't have to loop through the entire set of rows. Where's the WHERE clause? Build a query which will complete something like "SELECT username, password FROM users WHERE Username = $username AND password = $password"
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.