Best practice to return multidimensional array |
(05-05-2020, 09:39 PM)php_rocs Wrote: @adqda, hey thanks for your reply .. yes latest SQL and php 7.3 I never even thought about it .. Ive worked very little with views. I understand a database view is basically a fake database.. but how would the array nesting be any different than for a real table/s . I guess the question is . Do database views provide extra options to nest results from other tables within column values ,, ? in this case getting all the product images inside the specific product array under a product image column? and in this case naming the keys with column values Sorry I dont have the jargon yet. Thanks for your suggestion.. I will definitely look into views further, be it or not what I need for this instance |
Messages In This Thread |
Best practice to return multidimensional array - by adqda - 05-05-2020, 08:02 PM
RE: Best practice to return multidimensional array - by php_rocs - 05-05-2020, 09:39 PM
RE: Best practice to return multidimensional array - by adqda - 05-06-2020, 09:55 AM
RE: Best practice to return multidimensional array - by php_rocs - 05-06-2020, 02:43 PM
RE: Best practice to return multidimensional array - by SaraPeter - 06-05-2020, 04:52 AM
|