HI All,
Ok what I am trying to do is display an image to the number that a value represents. So for example if the var = 5 then the image needs to display 5X. The image is a star and represents a rateing.
I have tried to use a for loop, but cant seem to get it to work correctly. Please can someone have a look at it and let me know where I am going wrong:
for ($rate>1; $rate<=10; $rate++ )
{
print "<img src=\"../images/rate.gif\">";
}