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
https://forums.phpfreaks.com/topic/152552-solved-adsense-into-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.