Re: Php Tree Menu



On Fri, 31 Aug 2007 11:56:07 +0200, php_mysql_beginer911 <deepakgc@xxxxxxxxx> wrote:

Hi am not very good in php so looking for someone who could give some
suggections ...

i am trying to make a Menu where i can make Sub Menu and also i can
make any number of sub Menu under any Sub Menu ..

If i have only one level Menu And Sub Menu-- i can make a table with
id and parent id where parent id will be the Menu id for Sub Menu that
means ID And PARENT_ID fields are important but if make multiple sub
menus of ny number how i will change my table structure

Menu ->Sub_Menu-> Sub_Menu

to get sub menu query will be like "select * from table_menu where
parent_id=menu_id"

but to get any sub menu whihc is under any sub menu how it will go

i am not sure if i am able to make it clear here

but if somebody understand what i am trying to explaing please suggest
anything

Some reading material:
http://dev.mysql.com/tech-resources/articles/hierarchical-data.html

--
Rik Wasmus

My new ISP's newsserver sucks. Anyone recommend a good one? Paying for quality is certainly an option.
.



Relevant Pages

  • Re: Php Tree Menu
    ... suggections ... ... make any number of sub Menu under any Sub Menu .. ... means ID And PARENT_ID fields are important but if make multiple sub ... Some reading material:http://dev.mysql.com/tech-resources/articles/hierarchical-data.html ...
    (comp.lang.php)
  • Re: Php Tree Menu
    ... suggections ... ... make any number of sub Menu under any Sub Menu .. ... means ID And PARENT_ID fields are important but if make multiple sub ...
    (comp.lang.php)
  • Php Tree Menu
    ... Hi am not very good in php so looking for someone who could give some ... suggections ... ... make any number of sub Menu under any Sub Menu .. ... but if somebody understand what i am trying to explaing please suggest ...
    (comp.lang.php)
  • Re: ? for Will Brink about Dorian
    ... since the quality of right and left is better then the centre, ... but the channel is still there. ... a Sony STR-DB 1080 with DVD 905 AND speakers costed me about ... You have a top of the line SUB... ...
    (misc.fitness.weights)
  • Re: Recommendations, 8" subwoofer and possibly amp
    ... makes the best subwoofer. ... I have had, geez I have to think about this, 7 high quality systems in my ... even a very good 8" sub with lots of power in a minivan may leave ... going to go through all the hassle of installing an amp and subwoofer, ...
    (rec.audio.car)