Hi Andrea,
i’m not sure, but i think it should called: for ($i = 0;$i < $lenght - 1;$i++) not for ($i = 0;$i < $lenght;$i++) ..?
The Counter generate an error, if you using $lenght not $lenght -1.
Oh, sorry, it’s better: $lenght=strlen($countxt) - 1;
Ok, by...
Sylvio
I’m too...
For XHTML it is necessary that you close the img-Tag.
I have modify it: $countimg= "<img src=\"".$pathimg."/".$contimg[$i].".gif\"" . " alt=\"".$contimg[$i]."\" />";
by Sylvio