|
Post by DbMaker on Feb 14, 2019 16:01:24 GMT
Hello, I have been following your blog, and your tutorials. I was hoping to be able to let users save decks (trading card game) into a database. The database would hold all of the decks. I was imagining the deck name and the string of card names. Any player can load and save to the decks, but not delete any. I was trying to use this tutorial to set up the database side, but am running into issues. Would you happen to have experience with using www and php to save data? I have managed to load data from a database table, but trying to save is not working, and no errors occur. I did change one aspect, instead of mysql I added i to the ends making msqli. gamedevelopment.tutsplus.com/tutorials/how-to-code-a-self-hosted-phpsql-leaderboard-for-your-game--gamedev-11627Hope you can give me a clearer explanation or example to use! I am lost with php echo post all of it. (Only can use c# and a little java.) Thank you for any possible help, and have a good one!
|
|
|
Post by Dbmakes on Feb 14, 2019 16:03:11 GMT
Hello, I have been following your blog, and your tutorials. I was hoping to be able to let users save decks (trading card game) into a database. The database would hold all of the decks. I was imagining the deck name and the string of card names. Any player can load and save to the decks, but not delete any. I was trying to use this tutorial to set up the database side, but am running into issues. Would you happen to have experience with using www and php to save data? I have managed to load data from a database table, but trying to save is not working, and no errors occur. I did change one aspect, instead of mysql I added i to the ends making msqli. gamedevelopment.tutsplus.com/tutorials/how-to-code-a-self-hosted-phpsql-leaderboard-for-your-game--gamedev-11627Hope you can give me a clearer explanation or example to use! I am lost with php echo post all of it. (Only can use c# and a little java.) Thank you for any possible help, and have a good one! Realized this was in the tactics part, which is fine, I could use the same database to save player stats.
|
|
|
Post by Admin on Feb 17, 2019 0:43:05 GMT
Unfortunately, no - I don't have experience using php or much of anything regarding web database work. If you're open to other solutions, I have dabbled with Firebase and felt it was pretty easy to work with. As an extra bonus you can use it from Unity. firebase.google.com/docs/database/unity/start
|
|