How to echo AdSense code with PHP? Here is the sample of my code which I am working for a wordpress plugin.
<div class='mydiv'><?php echo stripslashes($adsensecode)?></div>
All I want to insert adsense code inside a div with PHP. I also tried with htmlentities along with stripslashes but ad in not getting displayed.
- The topic ‘How to echo adsense code in a div with PHP?’ is closed to new replies.