Jump to content

[SOLVED] adsense into php


s4salman

Recommended Posts

Hello

i want to put adsense code into this:

 if (is_int($i / $cols)){
                    echo "<td width='180' align='center' style=\"border-style: dotted; border-width: 1\">$mybox</td></tr><tr>";
                }else{
                    echo "<td width='180' align='center' style=\"border-style: dotted; border-width: 1\">$mybox</td>";
                }
             if ( $i / $cols == 2) echo "<td colspan='3' align=\"center\"><!--here i want to put adsense ad code--></td></tr><tr>";
             $i++;
          //end if
       }//end while

 

 

i want to put this adsense code :

<script type="text/javascript"><!--
google_ad_client = "pub-8599219576830682";
/* funxy forex 336x280, created 4/3/09 */
google_ad_slot = "4524729891";
google_ad_width = 336;
google_ad_height = 280;
//--> 
</script> 
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script> 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.