Don't use like
$mob_alternate_link = include("mobgold1.php");
you should use the core function of mobgold like
mobgold();
coz if u use like include("???????"); it will aslo parse a echo. thats why it showing two ads I guess.
Started on the old forum in May 2011 · view the original in the archive · old links redirect here
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
Don't use like
$mob_alternate_link = include("mobgold1.php");
you should use the core function of mobgold like
mobgold();
coz if u use like include("???????"); it will aslo parse a echo. thats why it showing two ads I guess.
ok thanks. check ur pm and reply
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
Great post! It's very nice. Thank you so much for your post.
Its very easy. You have to put the adcode of the other network you wish to use in a function like otherad() ... eg. Instead of:
echo $contents;
Use
return $contents; // In THE function.
after setting this, in admob's code, at the end, check like this:
if(strstr($ad_contents, 'href')) return $ad_contents; else return otherad();