Welcome Guest, Not a member yet? Register   Sign In
Best practice to return multidimensional array
#2

@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.
Reply


Messages In This Thread
RE: Best practice to return multidimensional array - by php_rocs - 05-05-2020, 09:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB