Using data from mySQL database across multiple scenes

If you can get the data in, you can store it in the 'window' object to retain that information across scenes. Alternatively, you could set it a bit more durably (even across page reloads) by using localstorage. More info on that here: https://www.w3schools.com/js/js_api_web_storage.asp

And there are a few examples here:

2 Likes