Using YACG with AuctionAds

Status
Not open for further replies.

ImagesAndWords

StayblCam.com
Nov 7, 2006
2,326
90
0
Scottsdale, Arizona
www.stayblcam.com
I marked this thread as a n00b alert, cuz my php skills are somewhat limited. :)

I am testing out a setup with AuctionAds on a YACG generated page. However, I am running into a little trouble using the YACG <?keyword()?> tag as a parameter to the AuctionAds code.

AuctionAds uses similar Javascript code like Adsense does. With AuctionAds, the target keyword is specified like this:

auctionads_ad_kw = "green widgets";
I have tried to use YACG with it like this:

auctionads_ad_kw = <? keyword() ?>;
And even this:

auctionads_ad_kw = \""<? keyword() ?>\"";
But it doesn't work. I'm sure the reason is that I am not using the proper escape characters or not passing the <? keyword() ?> parameter the way the javascript expects it.

How would I do this?
 


Status
Not open for further replies.