in reply to Re^2: output all array names in html
in thread output all array names in html

"ya i know that. but tried it and fail just outputing all names in same li not every name with its li"

You can't have tried. This doesn't do what your code does, which is why I posted it. Ignoring advice and not trying what you've been given doesn't seem to be working out well for you. You should read an understand How do I post a question effectively?, and all the other links I've given you to date.

Replies are listed 'Best First'.
Re^4: output all array names in html
by bigup401 (Pilgrim) on Sep 14, 2018 at 13:14 UTC

    i mean i tried it in my own way using foreach and while. but failed to work the way i want it to.

      It would be more helpful if you showed us the code you wrote using foreach, then we could help you get that working.

       

      ɹǝʞɔɐɥ lɹǝd ɹǝɥʇouɐ ʇsnɾ

        i got it now the problem was not putting {#script} to the whole script to loop

        foreach { #the rest code }

        i was just doing

        foreach { } #script

        but in other way i thought this can be done without putting {#script} to cover the looping code. coz foreach still works ok without {} to close. but anyway worked for me. bt didn;t want to close the code with {}