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

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

Replies are listed 'Best First'.
Re^5: output all array names in html
by will_ (Scribe) on Sep 14, 2018 at 14:23 UTC
    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 {}