The fastest way to do this is very simple :
store the last Id of your banner , get another from your SQL table (with
rand) and display it (repeat if the Id is the same)..
And, in your html page, add a refresh=xx to refresh the ad page.
"Stephen" <[EMAIL PROTECTED]> a écrit dans le message de news:
I have a link exchange script and I need to rotate the ads each time a page
refreshes. How exactly can I do this?
I have an id field for each ad. How could I display a different ad each time
the page refreshes using the id field?
"Life is a gift from God. Wasting it is like destroying a gift you got from
the person you love most." -- http://www.melchior.us
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php