I want to display an image in a row multiple times, I have coded the following (mix of HTML/PHP/CSS):
for ($i=20; $i<=320; $i=$i+300) {
echo "<style> "
. ".test{"
. "position: absolute;
left: " . $i . "px;"
. "top: " . 430 . "px;"
. "</style>";
echo "<img src=http://localhost/Summoner's%20Index/images/scheme.png class=test>" . "<br />" . "<br />";
}
My problem is, that each time the image gets placed again, the old disappears, so that in the end there is just one instance of the image. How can I change that?