Welcome Guest, Not a member yet? Register   Sign In
Add subquery to main query result instead of running lots of foreachs
#6

[eluser]gr0uch0mars[/eluser]
You know what, JoostV? It worked!
And as perfect as I liked. Thank you very much!

I don't work with arrays very often, so every time I have to do it, I don't remember anything. This time I'll keep what you've taught me for future references. :-)

Case solved!

One last thing: I tried to change it to use it like object instead of array (because I'm more accustomed to object-style), and I don't know how to change this:
Code:
echo '<h1>'.$versions[0]['disc_title'].'</h1>';

Do you know how to do it?


Messages In This Thread
Add subquery to main query result instead of running lots of foreachs - by El Forum - 08-20-2010, 09:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB