Hello Joe, I need the result in HTML like this: <ul> <li>Item 1</li> <li>Item 2 <ul> <li>Item 2a</li> <li>Item 2b</li> </ul> </li> </ul> from this database: menu: id, title, link, parentid The problem is that I cannot loops with php. Thanks. Vichea On Tue, Jun 1, 2010 at 9:37 PM, Joe Forsythe <jforsythe@xxxxxxxxxxxxxxxxxx>wrote: > > > What is the code you are using right now, what is this end result you > need in HTML, and what error(s) are you getting? > -- > Joe > > > On May 30, 2010, at 9:06 PM, Sovichea SOU wrote: > > > Hello everyone, > > > > Thanks for your reply, but I need only ul and li loop in php. > > Could anyone help me to create that function? > > > > > > > > Regards, > > > > Vichea > > > > On Fri, May 28, 2010 at 9:29 PM, Atkinson, Robert > > <ratkinson@xxxxxxxxxxxxx <ratkinson%40tbs-ltd.co.uk>>wrote: > > > >> > >> > >> > >> http://www.logon2.com.au/blog/archive/troubleshooting/accessible- > >> valid-dropdo > >> wn-menu-or-popup-menu-using-css-and-semantic-html/ > >> > >> -----Original Message----- > >> From: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com><php-objects% > 40yahoogroups.com> > >> [mailto: > >> php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com><php-objects% > 40yahoogroups.com>] On > >> Behalf Of Sovichea SOU > >> Sent: 28 May 2010 11:02 > >> To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com><php-objects% > 40yahoogroups.com> > >> Subject: Dynamic Multi Level Drop Down Menu in PHP/ > >> MYSQL > >> > >> Hello everyone, > >> > >> I want to create a limited drop down menu with <ul>. > >> It will look like this: > >> > >> <ul> > >> <li>Item 1</li> > >> <li>Item 2 > >> <ul> > >> <li>Item 2a</li> > >> <li>Item 2b</li> > >> </ul> > >> </li> > >> </ul> > >> > >> with this database: > >> menu: id, title, link, parentid > >> > >> Please help me to write php code... > >> > >> Many thanks and regards, > >> > >> Vichea > > [Non-text portions of this message have been removed] > > > Reply to sender<jforsythe@xxxxxxxxxxxxxxxxxx?subject=Re:+%5Bphp-objects%5D+Dynamic+Multi+Level+Drop+Down+Menu+in+PHP/MYSQL>| Reply > to group<php-objects@xxxxxxxxxxxxxxx?subject=Re:+%5Bphp-objects%5D+Dynamic+Multi+Level+Drop+Down+Menu+in+PHP/MYSQL>| Reply > via web post<http://groups.yahoo.com/group/php-objects/post;_ylc=X3oDMTJwdmllZ3UwBF9TAzk3MzU5NzE0BGdycElkAzIwMzE1NjQEZ3Jwc3BJZAMxNzA1MDA2NzY0BG1zZ0lkAzk4MzIEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjc1NDAzMDg3?act=reply&messageNum=9832>| Start > a New Topic<http://groups.yahoo.com/group/php-objects/post;_ylc=X3oDMTJlMjk1ajRmBF9TAzk3MzU5NzE0BGdycElkAzIwMzE1NjQEZ3Jwc3BJZAMxNzA1MDA2NzY0BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTI3NTQwMzA4Nw--> > Messages in this topic<http://groups.yahoo.com/group/php-objects/message/9824;_ylc=X3oDMTM0bTQxN2tvBF9TAzk3MzU5NzE0BGdycElkAzIwMzE1NjQEZ3Jwc3BJZAMxNzA1MDA2NzY0BG1zZ0lkAzk4MzIEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjc1NDAzMDg3BHRwY0lkAzk4MjQ->( > 5) > Recent Activity: > > - New Members<http://groups.yahoo.com/group/php-objects/members;_ylc=X3oDMTJmOTVyaDcxBF9TAzk3MzU5NzE0BGdycElkAzIwMzE1NjQEZ3Jwc3BJZAMxNzA1MDA2NzY0BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEyNzU0MDMwODc-?o=6> > 14 > > Visit Your Group<http://groups.yahoo.com/group/php-objects;_ylc=X3oDMTJlbDc0YzlmBF9TAzk3MzU5NzE0BGdycElkAzIwMzE1NjQEZ3Jwc3BJZAMxNzA1MDA2NzY0BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTI3NTQwMzA4Nw--> > Are you looking for a PHP job? > Join the PHP Professionals directory Now! > http://www.phpclasses.org/jobs/ > MARKETPLACE > > Stay on top of your group activity without leaving the page you're on - Get > the Yahoo! Toolbar now.<http://us.ard.yahoo.com/SIG=15oaqrfea/M=493064.13983314.14041046.13298430/D=groups/S=1705006764:MKP1/Y=YAHOO/EXP=1275410287/L=4b879658-6d8b-11df-ae53-5772ca6dd283/B=9EQhP2KImn4-/J=1275403087952104/K=OXRFM4fh__L0BaF3bncCxw/A=6060255/R=0/SIG=1194m4keh/*http://us.toolbar.yahoo.com/?.cpdl=grpj> > ------------------------------ > > Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.<http://us.ard.yahoo.com/SIG=15oe6ev3t/M=493064.13814537.14041040.10835568/D=groups/S=1705006764:MKP1/Y=YAHOO/EXP=1275410287/L=4b879658-6d8b-11df-ae53-5772ca6dd283/B=9UQhP2KImn4-/J=1275403087952104/K=OXRFM4fh__L0BaF3bncCxw/A=6078812/R=0/SIG=114ae4ln1/*http://dogandcatanswers.yahoo.com/> > ------------------------------ > > Get real-time World Cup coverage on the Yahoo! Toolbar. Download now to win > a signed team jersey!<http://us.ard.yahoo.com/SIG=15o97h1c5/M=493064.14012770.13963757.13298430/D=groups/S=1705006764:MKP1/Y=YAHOO/EXP=1275410287/L=4b879658-6d8b-11df-ae53-5772ca6dd283/B=9kQhP2KImn4-/J=1275403087952104/K=OXRFM4fh__L0BaF3bncCxw/A=6093983/R=0/*http://us.lrd.yahoo.com/_ylc=X3oDMTFnaW51Y3EyBHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMjc3MDUEdG1fbmV0A1lhaG9vIQ--/SIG=1219e5kan/**http%3A//toolbar.yahoo.com/tour%3Ftab=wc%26.intl=us%26.cpdl=wc> > [image: Yahoo! Groups]<http://groups.yahoo.com/;_ylc=X3oDMTJkZTlzbmVuBF9TAzk3MzU5NzE0BGdycElkAzIwMzE1NjQEZ3Jwc3BJZAMxNzA1MDA2NzY0BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMjc1NDAzMDg3> > Switch to: Text-Only<php-objects-traditional@xxxxxxxxxxxxxxx?subject=Change+Delivery+Format:+Traditional>, > Daily Digest<php-objects-digest@xxxxxxxxxxxxxxx?subject=Email+Delivery:+Digest>? > Unsubscribe <php-objects-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>? Terms > of Use <http://docs.yahoo.com/info/terms/> > . > > [Non-text portions of this message have been removed] ------------------------------------ Are you looking for a PHP job? Join the PHP Professionals directory Now! http://www.phpclasses.org/jobs/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/php-objects/join (Yahoo! ID required) <*> To change settings via email: php-objects-digest@xxxxxxxxxxxxxxx php-objects-fullfeatured@xxxxxxxxxxxxxxx <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/