Skip to content
Advertisement

display array keys as table headers and values in sub arrays as table rows in php?

i have the following array. how to display array keys as headers and values of keys which are also arrays as table rows.

JavaScript

i have displayed array keys headers like this.

JavaScript

how to display the values as table rows.

Advertisement

Answer

here is tested solution:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement