2
It can be done, but there are better ways of managing your ads.
If you just want simple banner/ad rotation with no statistical information gathered, you can use this simple PHP ad rotator.
Link:
RandomAdsIf you only want click tracking you can use PHP-Stats, which will also provide you with an abundance of visitor statistics.
Link:
PHP-StatsIf you want a full-fledged ad management system that is extremely robust and scalable, you can use PHPAdsNew.
Link:
PHPAdsNewAll of the above are free.
Hope that helps.
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.