Welcome Guest, Not a member yet? Register   Sign In
Outputting from two queries in my view?
#7

[eluser]srpurdy[/eluser]
[quote author="ChrisF79" date="1352849147"]I'm starting to understand. One follow-up that jumps out at me though is that in my model_specs, I have one line for each spec. So, how would I get it to pull all of those too? The similarity is the model_id.[/quote]

Ah so a row per spec?

Just do that same thing extract via the model_id, and foreach loop.

It might make sense to do what I said and store this in 1 big array. and use a for loop instead of a foreach loop.

with a for loop and count. and a multi-dimensional array would be ideal for performance reasons, but this depends on how much data your going to have. Smile


Messages In This Thread
Outputting from two queries in my view? - by El Forum - 11-13-2012, 01:15 PM
Outputting from two queries in my view? - by El Forum - 11-13-2012, 04:00 PM
Outputting from two queries in my view? - by El Forum - 11-13-2012, 04:13 PM
Outputting from two queries in my view? - by El Forum - 11-13-2012, 04:18 PM
Outputting from two queries in my view? - by El Forum - 11-13-2012, 04:25 PM
Outputting from two queries in my view? - by El Forum - 11-13-2012, 04:25 PM
Outputting from two queries in my view? - by El Forum - 11-13-2012, 04:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB