HalfaBee -- I'm impressed, it works! Only one wrinkle . . . can you hang in with me to figure this last part out?
Your solution works fine when the search engine finds something relevant and returns a proper URL, but if it doesn't find a match in its index, it generates a null, which in turns generates this error in your script . . . perfectly understandable.
Warning: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in /home/.xcell/cadivorc/1-divorce.com/body.bak1.php on line 57
So in case of a null result, I'd like your script to substitute the code below instead, which will swap-in a randomly chosen article. Can you help me with this?
<?php include ("ad_rotator.php");?>