I need to generate numbers 1 - 1000000 in a list format
1
2
3
4
5
6
etc
I found this php code to do something similar but it puts the numbers like this
1,2,3,4,5,6,7,etc
Could someone please give edit this code for me to put the numbers in list format. Usless at PHP
1
2
3
4
5
6
etc
I found this php code to do something similar but it puts the numbers like this
1,2,3,4,5,6,7,etc
Code:
<?php
$lowestnum = 1;
$highestnum = 1000000;
for($i=$lowestnum; $i<=$highestnum; $i++){
echo "$i, ";
}
?>
Could someone please give edit this code for me to put the numbers in list format. Usless at PHP