O’, trying to create this SVG with PHP
This is how I display the numbers (1-20)
1
3
5
7
9
11
13
15
17
19
....
..;.
2
4
6
8
10
12
14
16
18
20
To do this with PHP, is that correct?
for ($x = 1; $x < 20; $x++) {
if($x % 2 == 1) {
echo ''.$x.' ';
} else {
echo ''.$x.' ';
}
echo "rn";
}