How To Display Hyperlinks And Images Correctly In RSS Feeds
Front Door Of The Old Cartdrone Site
As usual, PHP to the rescue! I found a simple way to rotate both text-link or image ads, and differently than previous methods I investigated. Now, I was able to stack a group of ads together, and then, with each refresh of the page, have a different ad in place. There's no need for even an ad server with this coding solution, since as ads grow in amount over time, they can be called via a PHP "include" statement so the size of the file doesn't interfere with your page load;
$num = Rand (1,3);
?> PHP Rotation Coding Sample
In the above example, you have a tabular setup for the first two ads, and then an example of an image link, which can have a text link substitute by removing the "img src" part. Try this PHP coding technique where you don't want to use JS, but you want to be able to circulate ads on the page without taking up space.