php print_r nice table

前端 未结 4 732
失恋的感觉
失恋的感觉 2021-02-08 02:46

I\'m looking to be able to produce a nicely formatted table with rows and columns from the contents of a print_r array statement?

Any ideas?

4条回答
  •  清歌不尽
    2021-02-08 03:10

    Here is a very simple way to print pretty arrays with html pre tag:

    ';
    print_r($myarray);
    echo '
    '; ?>

提交回复
热议问题