Analgiins Posted February 15, 2005 Report Share Posted February 15, 2005 nu lieta sekojosha... savajadzeejaas uztaisiit nenoteikta dziljuma dinamisku sadalju menu (ieksh MySQL - tur visu smuki editeejam, pievienojam, dzeesham utt). Labs variants shkjita Kaklz piedaavaatais vienaa topikaa (šķiet te), kur viss glabaajas vienaa tabulaa (vajag tikai id un parent_id), bet probleema rodaas, ka taas sadaljas vajag smuki izvadiit - hierarhiski. tas buutu viens. Otrs, jaatveras buutu tikai tam zaram, kura parent_id = ar uzspiestaas sadaljas id. Nu ceru ideju saprataat. Meegjinaa selectot, samest massivos, bet nu auzas tik dziljas, kas nespeeju izdomaat algoritmu. Ir kaadas idejas ? Link to comment Share on other sites More sharing options...
bubu Posted February 15, 2005 Report Share Posted February 15, 2005 Šitam jau tika apspriests algoritms: http://php.lv/f/index.php?showtopic=1972&v...indpost&p=13293 :) Link to comment Share on other sites More sharing options...
Analgiins Posted February 16, 2005 Author Report Share Posted February 16, 2005 nja, taa ir, kad smadzene kuup :) thanks bubu Link to comment Share on other sites More sharing options...
Kaklz Posted February 16, 2005 Report Share Posted February 16, 2005 nja, taa ir, kad smadzene kuup :) thanks bubu 13750[/snapback] iedzer analgīnu, varbūt paliks labāk :D Link to comment Share on other sites More sharing options...
Recommended Posts