I want to know how often people play my game. On Start Layout, is there a way to send +1 to an SQL database? I already understand the concept of posting top 10 highscores to SQL. I just want to know how to keep adding 1 to a specific number hosted in SQL.
Develop games in your browser. Powerful, performant & highly capable.
update `table` set counter = counter + 1 where id = 1
Thats a bit of sql right there, assuming you have a table called "table" and that it has at least 2 columns, id and counter, and a record with id of 1.