if($test_mode == "on") {
print("There are <B>$number_of_ads</B> ads in the ads folder<BR>");
}
I'm wondering what that outputs. Offhand either it can't find the ads, or it can't display them. If that test output comes back with $number_of_ads greater than 0 then the problem is narrowed down.
|