How to insert adsense code into php ? – the simplest answer !
August 22nd, 2008
No comments
Someone ask me question "How to insert adsense code in php?"
Maybe the simplest answer is:
<?php echo "HTML ADSENSE CODE"; ?>
like this:
<?php echo "<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxx";
google_ad_width = 120;
google_ad_height = 60;
google_ad_format = "120x60_as_rimg";
google_cpa_choice = "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>"; ?>
Have fun with php ...








