Best practice to return multidimensional array |
@adqda,
I'm going to assume that you are using a current version of MySQL. Why don't you create a database view that has all of the information you need from all three tables. Then in your CI model. All you have to do is call the database view and you will have all the information you need. |
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
|