Reply
google adsense
Old 12-02-2007, 02:24 PM google adsense
hh2001's Avatar
Novice Talker

Posts: 6
Name: john
Hi.
Can this be html or php?.


<script type="text/javascript"><!--
google_ad_client = "pub-9041747669581149";
//468x60, created 11/30/07
google_ad_slot = "3066449363";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


I was told that html can not be put in php.

So how can this be changed?.

John.
hh2001 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 12-02-2007, 02:55 PM Re: google adsense
Moxxnixx's Avatar
33.33333333% Evil

Posts: 909
Name: Lance
Location: Florida
Hi John,
Normally, this is inserted in the html portion of a php script. ie, the areas that
aren't enclosed in php tags. But, if your entire page is enclosed in a php tag,
you should use an include to insert the Adsense code.

For example,
Copy/paste the Adsense code into a file and call it adsense.php and upload
this file to your server.

Then, locate where you want to put the Adsense in your php script and put
the following line,
PHP Code:
include("adsense.php"); 
EDIT -
Dude, you already have a previous thread pertaining to this. It's not cool to start another.
Colbyt gave you the same answer.
__________________
Get your facts first, and then you can distort them as much as you please.
-Mark Twain

Add Webmaster-Talk to your Firefox Search Engine

Last edited by Moxxnixx : 12-02-2007 at 03:07 PM.
Moxxnixx is offline
Reply With Quote
View Public Profile Visit Moxxnixx's homepage!
 
Reply     « Reply to google adsense
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12760 seconds with 12 queries