How to print an array as a HTML table in PHP

You would have though it was a thing people would use all the time, but apparently not so after too much researching I cobbled together this:

echo '';
for each ($array as $key => $value) { echo ''; }
echo '
Field dumpData dump
' . $key . '' . $value . '
';

jobs a good un!

Tags : php array table html

Subscribe to newsletter

Search Posts

Back to top