I need every ten lines to echo them into a div.
Example:
<div class='return-ed' id='1'>
line 1
line 2
...
line 9
line 10
</div>
<div class='return-ed' id='2'>
line 11
line 12
...
line 19
line 20
</div>
Does anyone know a way to do this?
an array from a file (), therefore its strings from a file.
source
share