Quote:
Originally Posted by Chris 96 WS6
You're going to have to dumb it down for me more. Nowhere in the invocation code for zone 2 does "$phpAds_raw2[html]" show up, so the call for zone 1 and zone 2 are the same. When I put $phpAds_raw2[html] in the template, that call doesn't seem to reference anything in PAN.
I'm lost.
|
The invocation code given by phpadsnew is just a template or an example of how to display that particular zone. When you have more than one banner on a page, the invocation code for at least one of them will have to be modified so that you don't have conflicting variable names. If $phpAds_raw[html] is set to contain the html for one zone, then you aren't going to be able to reuse that same variable to store the html for the next zone -- you'll have to change that variable to something else both in the invocation code and where you use it. Some people choose to use $phpAds_raw2[html] for the 2nd zone.