Search in array with SQL staments.
For a project that I’m doing, for various reasons I needed to reduce the number of requests being made by SQL.
I realized that the problem lies basically in the number of SQL queries and come to the conclusion that the ideal would be to have the table in memory and make SQL queries in memory.
Browsing the net I found these two classes to do the same, one for javascript and one for php.


