php - Printing an Array in Bootstrap -


i have multidimensional array.

i use php & bootstrap, creating data structures application.

i have used var_dump(), print_r(), echo '', , tried wrapping array in <pre></pre>, inline version of array.

my current output is:

inline array print using print_r

i want output following image:

nice , tidy, visual representation of array

how can array output such latter image using components in bootstrap?

how use pre tag ?

you should use <pre> html tag display var_dump output :

<pre><?php var_dump($arr); ?></pre> 

http://getbootstrap.com/css/#code


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -