As a result of making a web page, a question has arisen. At the moment of showing on screen some type of information by echo
with php how would it be better to show this data, in terms of efficiency?
Showing everything with a single echo
:
echo '<table><tbody><tr><th></th></tr></tbody></table>';
Showing everything with several echo
:
echo '<table>';
echo '<tbody>';
echo '<tr>';
echo '<th>';
echo '</th>';
echo '</tr>';
echo '</tbody>';
echo '</table>';