I just thought I'd ask. I'm a PHP novist at best and can't figure out how to do what I think is a simple thing with PHP.
The best way to describe what I'm trying to do is like this:
Lets say you took a web page and divided it up into 4 equal squares. Then had the HTML content for each square inserted into the page via a server side include.
Here is what I need to do. Each time the page is visited I want the page content for each square (the server side include) to rotate clockwise. That's it.
So the SSI that placed content into the top left now goes into the top right. The content that was in the top right now moves to the bottom right, and so on for all 4 squares.
If anyone can help me with the code to do this I would appreciate it greatly.
The best way to describe what I'm trying to do is like this:
Lets say you took a web page and divided it up into 4 equal squares. Then had the HTML content for each square inserted into the page via a server side include.
Here is what I need to do. Each time the page is visited I want the page content for each square (the server side include) to rotate clockwise. That's it.
So the SSI that placed content into the top left now goes into the top right. The content that was in the top right now moves to the bottom right, and so on for all 4 squares.
If anyone can help me with the code to do this I would appreciate it greatly.