Difference between two jsons

Hello, I’m tryng to see what changed since last time logged in taken from a json, and doing a new one… Somewhere in the code theres a foreach printing a table

I think I almost solve it on my own. Solved

Here’s a fun fact about using files to hold data. You MUST use file locking and error handling logic if you are actively storing and retrieving data in files, so that concurrent access won’t corrupt your data.

On the other hand, databases automatically perform the necessary locking to allow concurrent access without damaging data.

You should be storing active data in database tables, not files.

Sponsor our Newsletter | Privacy Policy | Terms of Service