This is quite a long story, and isn't strictly PHP - but I've tried DHTML and Javascript without success, so this is my next port of call.
On one of my sites, I have an information panel, which is a php file, called from the main page.
That file contains several tables of data, which at the moment are lined one under another.
What I'd like to do is have them rotating, so that you only see one at a time, but it changes every 15 seconds, so after a minute you've seen all four of them.
First I tried to do this using META HTTP-EQUIV=refresh... it worked initially, but after the first refresh it just displayed the table, and not the rest of the page.
Then I came up with the idea of putting a frameset within the information panel, and putting the REFRESH command into files within the frameset. This didn't work at all and stayed with the first page of data.
Then I tried using Javascript and DIV tags to insert each page of data between the table tags, however I could only get this to work by adding buttons to control which page was displayed, and couldn't get it to change pages automatically on a timer.
Now I know that a few simple lines of code can be used to change an image periodically, but does anyone know how to do it with a table?
Thanks in advance...