Welcome Guest, Not a member yet? Register   Sign In
multiple query and foreach loop
#1

[eluser]forzaferrari87[/eluser]
Hallo,
I am a newbie at CodeIgniter and want to know how does something.

I have two tables. One of the is a category table and the other a normal one for informations. In my case I want to print out first the category with a foreach loop. That works. But in my second query I want to print out the information with the correct category. Without a framework I did this by a second foreach loop.

My question. How I can print out the second table throught the id of the category table?

Also I am searching at Google too, but I don't found the correct solution till now.


Messages In This Thread
multiple query and foreach loop - by El Forum - 12-27-2013, 05:19 AM
multiple query and foreach loop - by El Forum - 12-27-2013, 09:25 AM
multiple query and foreach loop - by El Forum - 12-27-2013, 09:28 AM
multiple query and foreach loop - by El Forum - 12-27-2013, 10:17 AM
multiple query and foreach loop - by El Forum - 12-27-2013, 10:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB