make array with start range and end range with key code example
Example: foreach range php
<?php
foreach (range(0, 12) as $number) {
echo $number;
}
?>
<?php
foreach (range(0, 12) as $number) {
echo $number;
}
?>