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

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ɾ

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

    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 {}