Forum Moderators: martinibuster

Message Too Old, No Replies

How do I do this?

2 adsense codes but want to show only one

         

blue_eagle

5:21 pm on Jul 26, 2005 (gmt 0)

10+ Year Member



Hi there,

I use only one adsense block on my pages. My pages are usually in wdget.php - widget-blue.php form and there are links on them to some articles. However, when a person clicks on article link they go to widget.php?showfulli_etc. etc. and since I implemented one more adsense code in my script when a person goes to the article page. They see the adsense codes which is the regular one (the first one on wdiget-blue.php and the one in the script which is the second one. What I want is I don't want to show the first adblock when my visitor goes to the article page (widget.php?showfulletc.) instead i want to show the which i implemented into the script.

I was wondering if there is any script will disable the first one when a visitr goes to the article page and will show only the one which is implmeneted in the script.

Thanks in advance.

Sincerely..

wyweb

5:52 pm on Jul 26, 2005 (gmt 0)



this is a coding question, no?

JoshInTX

6:11 pm on Jul 26, 2005 (gmt 0)

10+ Year Member



Blue_Eagle,
I think you will probably have better luck asking this in the PHP forum. It sounds fairly simple, an if statement that looks for something in the querystring. I wish I could help but I'm an asp guy and don't know a thing about php.

blue_eagle

6:53 pm on Jul 26, 2005 (gmt 0)

10+ Year Member



Thank you guys i will ask in there :)