Thanks for a brill tutorial Michael!
Can I just ask you to check what I'm doing is ok please? (It all seems to be working ok)
I have two zones on the same page and this is how I've set it up:
My phpinclude star file contains:
HTML Code:
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php'))
if (!isset($phpAds_context))
{
$phpAds_context = array();
$phpAds_raw = view_raw ('zone:2', 0, '_blank', '', '0', $phpAds_context);
}
{
$phpAds_context2 = array();
$phpAds_raw2 = view_raw ('zone:3', 0, '_blank', '', '0', $phpAds_context2);
}
And the pages contain:
$phpAds_raw[html] -where I want the first zones ads to show, and,
$phpAds_raw2[html] -where I want zone two ads to show.
It all seems to be working fine, but just wondered if I have done it right or not!
Thanks for looking.