Jump to content


[Help] HTML to PHP AddSense code

  • Please log in to reply
2 replies to this topic

#1 ricktendo


    Group: Banned

  • Global Mods
  • 8,931 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 06 August 2009 - 06:12 PM

Hello folks, who can help me I am trying to add Google AddSense adds and search to my webpage http://ricktendo.com/ but have no clue about web design (as you can tell i suck) ..if anybody could help I am trying to add the following html code to my page, currently I used a html to php web converter and its working but I would like to center it

Here is the original code I got from google


<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXX";
/* UPL Site Adds */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
<script type="text/javascript"


<form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
    <input type="hidden" name="cx" value="partner-pub-XXXXXXXXXXXXXXXX:uto831-ucsl" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Buscar" />

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=es"></script>

If somebody could point me in the right direction



    LUZR of the WORLD

  • Members
  • PipPipPipPipPipPipPip
  • 1,457 posts
  • Location:Detroit, MI
  • OS:Windows 7

Posted 06 August 2009 - 07:19 PM

I wish I could help, but glad to see you have your own page.

#3 pri2sh


    WinCert Friend

  • Members
  • PipPipPipPip
  • 216 posts
  • Location:Nepal
  • OS:Windows XP Pro

Posted 10 August 2009 - 03:08 PM

Google doesnot allow editing adsense code ( read their ToS)..
why i need to change it to html ?? since u are using wordpress u can search for some adsense plugin.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users