Page 1 of 1

Dynamic menu

Posted: Wed Jan 03, 2007 6:57 am
by amir
Hello,

Please have a look of this menu,
http://tutorials.alsacreations.com/dero ... tical.htm#

If you click on 2nd menu, it will display you all the items of 2nd menu, if you click on 3rd menu, it 'll display 3rd ones items and so on.

I want to create this menu as dynamic. I have two DB tables with fields;
1) tbl_states: state_id, state_name
2) tbl_cities: city_id, city_name

I want to create a dynamic menu with states as main items and cities as sub items.
Any help would be greatly appreciated.

TIA!

Posted: Wed Jan 03, 2007 7:02 am
by Oren
From the General Posting Guidelines:
6. Write your question carefully, think about what you need to achieve and exactly what help you are looking for.

Posted: Wed Jan 03, 2007 10:59 am
by Kieran Huggins
Take a look here:
http://en.wikipedia.org/wiki/Firefly_%28TV_series%29

I'd like that series brought back. And maybe another movie.

And a pizza.

Thanks.


Seriously though, write some code. If you have problems, troubleshoot them. If you're stuck, ask for help.

I can already tell that you're going to have trouble with that database schema... care to guess why?

Posted: Wed Jan 03, 2007 3:10 pm
by amir
You are right. This was very easy!
Thanks for your sujjestion.