Re: [PHP-DB] storing query result in arrays: waste of memory?

2001-01-31 Thread Stas Trefilov
Hello, "Tyson Lloyd Thwaites"! You wrote: Is it better to retrieve the whole table up-front and store it in a session array, or to run the queries seperately each time the data is needed and specify the column targets? First read all the short columns from the row in your base class

[PHP-DB] storing query result in arrays: waste of memory?

2001-01-23 Thread Tyson Lloyd Thwaites
Hi all, I am writing an object-oriented program in PHP, and some of the child objects require similar data to their parents, but from different columns of the same table. Is it better to retrieve the whole table up-front and store it in a session array, or to run the queries seperately each