Nested Query

admin

Administrator
Staff member
i have 2 for loops and my data is displayed like this

Category1
--Forum1
--Forum2
Category2
--Forum3
--Forum4

i'm using 1 query to get Category from Cats table(i have 2 records there and query count returns 2) and under this 1st qeury i have for loop making other query to get form names

when 2nd query and loop finishes 1st loop doesn't show next category


looks compliacted to me, thnx in advance
 
Back
Top