Menu
Hi,
I have a multidimensional array which contains all the rows from a table.
[CODE]
ID | TITLE | SOMETHING ELSE | ETC
I have another variable containing an integer which refers to the ID in the table. I want to get the corresponding row from the multidimensional array, rather than unnecessarily querying the database again.
So basically, is there a way to perform this?
SELECT * FROM the array WHERE ID = $id
Any advice appreciated.
Thanks