given that php
echo '<div>';
echo 'whatever';
echo '</div>';
echo '<div>';
echo 'whatever';
echo '</div>';
echo '<div>';
echo 'whatever';
echo '</div>';
echo '<div>';
echo 'whatever';
echo '</div>';
the output html is
<div>whatever </div><div>whatev er</div><div>whatev er</div><div>whatev er</div>
whereas I would like to have as output the following (It's better in
order to read and understand the html code)
<div>
whatever
</div>
<div>
whatever
</div>
<div>
whatever
</div>
<div>
whatever
</div>
How should I do ?
regards - jm
echo '<div>';
echo 'whatever';
echo '</div>';
echo '<div>';
echo 'whatever';
echo '</div>';
echo '<div>';
echo 'whatever';
echo '</div>';
echo '<div>';
echo 'whatever';
echo '</div>';
the output html is
<div>whatever </div><div>whatev er</div><div>whatev er</div><div>whatev er</div>
whereas I would like to have as output the following (It's better in
order to read and understand the html code)
<div>
whatever
</div>
<div>
whatever
</div>
<div>
whatever
</div>
<div>
whatever
</div>
How should I do ?
regards - jm
Comment