How can the output from an Echo command be formatted into a table for better readability?

When outputting data from an Echo command in PHP, it can be difficult to read and understand, especially if there are multiple pieces of information being displayed. To improve readability, you can format the output into a table structure. This can be achieved by using HTML table tags within the Echo command to organize the data into rows and columns, making it easier to visually parse and interpret.

<?php

echo "<table>";
echo "<tr><th>Name</th><th>Age</th></tr>";
echo "<tr><td>John</td><td>25</td></tr>";
echo "<tr><td>Jane</td><td>30</td></tr>";
echo "</table>";

?>