Hi im really new to PHP and just discovering how useful it is. Great site by the way.
What i am trying to do is each time a visitor comes to the site they see a different image, (only one image at a time) at the moment it is random and sometimes it falls on the same image 2 or 3 times in a row before switching. So i figured the best way around that would be to have the image order in sequence (ie, 1,2,3,3,5) . Then when it gets to last image it loops back to image 1 again and so on.
Basically, is there an alternative to the "rand" attribute that will make a set of 5 images display in order rather than randomly.
Heres the site www.plumbersnottingham.co.uk
Thanks in advance.