Page 1 of 1

Replacing an Ad after 7 seconds

Posted: Sat Dec 05, 2009 4:27 pm
by Vegan
At present I have a PHP program that displays an ad randomly so why not take the next step and have a auto-updating ad, a bit like mechanical billboards work.

Re: Replacing an Ad after 7 seconds

Posted: Sat Dec 05, 2009 5:05 pm
by sangoku
:dubious: And your question is????

If you mean how you can do it you could do it easily with ajax or jscript, duos not mater with what(same thing)

Re: Replacing an Ad after 7 seconds

Posted: Sat Dec 05, 2009 8:00 pm
by Grizzzzzzzzzz
Vegan wrote:At present I have a PHP program that displays an ad randomly so why not take the next step and have a auto-updating ad, a bit like mechanical billboards work.
you'll have to do it in something like javascript i'm afraid, php isn't really an option when it comes to this kinda stuff.

Re: Replacing an Ad after 7 seconds

Posted: Sun Dec 06, 2009 2:42 pm
by Vegan
OK, I was thinking of calling the ad code via some loop?

I have a PHP program that now shows a tower ad. It has no procedures, it simply displays the ad with echo.

Could I leverage it as is? I called it tower.php for want of an interesting name.