Welcome Guest, Not a member yet? Register   Sign In
Menu Model
#3

[eluser]Think Floyd[/eluser]
Thanks for the swift response.

I don't think I'm being all that clear.

I guess my true problem lies in in returning the data. I'm new to PHP and my multi-dimensional array knowledge needs polishing.

If I did an SQL JOIN in my query which would return the category -> and all sub categories of that category, I am then not sure how to iterate through this data in my view.

So I guess what I'm after would look something like this:

$data array(
category 1=> array (subcategory1, subcategory 2, etc)
category 2=> array (subcategory1, subcategory 2, etc)
)

Does that make sense?


Messages In This Thread
Menu Model - by El Forum - 03-12-2009, 07:00 AM
Menu Model - by El Forum - 03-12-2009, 07:29 AM
Menu Model - by El Forum - 03-12-2009, 07:42 AM
Menu Model - by El Forum - 03-12-2009, 07:48 AM
Menu Model - by El Forum - 03-12-2009, 08:01 AM
Menu Model - by El Forum - 03-12-2009, 08:07 AM
Menu Model - by El Forum - 03-12-2009, 08:35 AM
Menu Model - by El Forum - 03-12-2009, 08:40 AM
Menu Model - by El Forum - 03-12-2009, 08:48 AM
Menu Model - by El Forum - 03-12-2009, 08:49 AM
Menu Model - by El Forum - 03-12-2009, 09:34 AM
Menu Model - by El Forum - 03-12-2009, 09:51 AM
Menu Model - by El Forum - 03-12-2009, 10:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB