PDA

View Full Version : A series of random images opposed to one


PennylessZ28
25 Oct 2005, 22:30
I have been using this for a random image

In my phpinclude



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Then in the template I use the following code

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



So I have been reading and the one thing I haven't seen is, a set of rotating images.

And I might be wording this wrong.

Lets say I create one banner that uses 3 images, we will call them A B C

What if I wanted to create A1 B1 C1 and then have them randomly rotate to A2 B2 C2 or A5 B5 C5

So far all I have manged to do is A1 B7 C3

I can't get them to to rotate in squence.

jugo
25 Oct 2005, 22:40
in that case you have to use arrays so that goes in order.