fireflyproject
Oct 16th 2007, 3:33 pm
I have an array:
menu_links = ['?page=home_content', ['?page=steaks_about', '?page=steaks_about', '?page=steaks_recipe', '?page=steaks_sauce'], ['?page=potatoes_about', '?page=potatoes_about', '?page=potatoes_recipe'], ['?page=asparagus_about', '?page=asparagus_about', '?page=asparagus_recipe'], '?page=feedback'];
Now, the way it looks to me, there are array's inside this array... how would one pull out seperate pieces of the inner ones? The way this array is set up is not something I have the ability to change, so I have to work with it this way. Any thoughts?
menu_links = ['?page=home_content', ['?page=steaks_about', '?page=steaks_about', '?page=steaks_recipe', '?page=steaks_sauce'], ['?page=potatoes_about', '?page=potatoes_about', '?page=potatoes_recipe'], ['?page=asparagus_about', '?page=asparagus_about', '?page=asparagus_recipe'], '?page=feedback'];
Now, the way it looks to me, there are array's inside this array... how would one pull out seperate pieces of the inner ones? The way this array is set up is not something I have the ability to change, so I have to work with it this way. Any thoughts?