And I have a JS that has a function that takes the name of the player, position, position, level, image, etc. I want to save this data in a dB, the user logs in with the account and accesses the data with a JS, to view the information.
Can I do this with a JS and php?
Or I can write to a txt, and capture with JS in the BD folder of the site's host.
There is a way to create a txt with in the site host with pure JS for example creates record le and erases data in txt with JS.