This topic is locked

Banner Ads

4/26/2008 8:41:36 AM
PHPRunner General questions
M
mmponline author

I need to do a banner ad. I know there are some ready to go applications out there, but I'd like to stick this inside PHP Runner using only 1 logon etc. and not different apps.
The basic needs will be the following:
Fields: ID, Logo, Hyperlink, Seconds, Clicks
Application:

When clicking the logo, it must link to the hyperlink in the hyperlink field.

Seconds should carry the time to display and it should automatically go to the next record on the elapsed time. (Something like ID +1)

When reaching the end of the records, it needs to start from front again.
Other bonus features:

Random select of next record on rotation in stead of increment.

Recording of no. of clicks for a specific record. (Every time a logo is clicked, it should add 1 to the "clicks" field.
Is there anyone who had some attempts on this. Your help appreciated!

J
Jane 4/28/2008

Stephan,
use custom event to select one ad from the table and show it on the page.

You can find a lot of samples or tips on how to select one record from the table on the PHPRuner forum.