Welcome Guest, Not a member yet? Register   Sign In
Mysql query - one row details, child rows
#3

[eluser]iamzozo[/eluser]
I want to get only that rows which has got this "parent" row.
So like on a blog post detail page, and show the comments for it. Now my join it's working well, but i have to separate the result and rebuild an assoc. array. (I'm not lazy to create it, i just would like to know if there is any solution with one query Smile, if there is no solution for this, or which is worth it, i will go on with 2 query)


Messages In This Thread
Mysql query - one row details, child rows - by El Forum - 06-20-2012, 05:59 AM
Mysql query - one row details, child rows - by El Forum - 06-20-2012, 06:40 AM
Mysql query - one row details, child rows - by El Forum - 06-20-2012, 06:56 AM
Mysql query - one row details, child rows - by El Forum - 06-20-2012, 07:22 AM
Mysql query - one row details, child rows - by El Forum - 06-20-2012, 07:47 AM
Mysql query - one row details, child rows - by El Forum - 06-20-2012, 07:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB