Hey all, I am wondering what the best way to do the following is:
Query up to 5 tables (depends on user input) pull back the results and return a single array. Lets say I query table A and have the results stored as a result handle (return from the pg_query() fn), shall I go ahead and convert those to an array, and then continue appending the results from the subsequent queries to that? If so can I get away with simply using the array_merge() function?