/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $i = 1; while ($x < 17){ echo 'Data ' . $i . '<br>'; //Change Value to how many rows you want to insert after. if( ($i % 3) == 0 ){ echo 'Snippet of text--<br>'; } $i++; $x++; }//while ?>