Replacing an Ad after 7 seconds

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Replacing an Ad after 7 seconds

Post 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.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
sangoku
Forum Newbie
Posts: 10
Joined: Wed Dec 02, 2009 10:48 am

Re: Replacing an Ad after 7 seconds

Post 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)
User avatar
Grizzzzzzzzzz
Forum Contributor
Posts: 125
Joined: Wed Sep 02, 2009 8:51 am

Re: Replacing an Ad after 7 seconds

Post 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.
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: Replacing an Ad after 7 seconds

Post 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.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
Post Reply