ToddHost.com
Helping webmasters make more money

 
           

FREE Information

 

TH-Rotating Banner Ad
Now you can get it FREE!

Each time your page calls the script, it rotates through your banner adding the next in line to your page. This script is very easy to operate and include a admin control panel to add or remove your banners. The banner above was added to this page using our script. You can add as many banners to your pages as you wish. The script rotates through the banners and adds them to your page. We have place another banner below this line. The banner link will open in a new window. Click a banner to see it open in a new window.

Simply place this code <? include("xxx.php"); ?> on your page where you want the banner to appear. Next we are going to add two more banners below by adding this code <center><? include("xxx.php"); ?><br><? include("xxx.php"); ?></center> to this page.




You may have notice in the above code we added <center> and <br>, these tell the page to center the banners and to place a line between them.

You can make a whole page of banners just by adding the line of code for how ever many banner you want to have on the page. Refresh this page to see the banners change.

To add banners to the database simply use the admin control panel and enter the url to the banner and the link url of the banner.

Requirements: Php and a mysql database. You can place the banner on a regular .html page but you must rename the page to a .php extension.


Please enter your email address to have the file sent to you instantly.
Your Email:

 

 

Copyright © 2006, TODDHOST.COM. All rights reserved.
Privacy Policy | Terms of Use

 

Copyright © 2002 - 2007, TODDHOST.COM. All rights reserved.
Privacy Policy | Terms of Use