How to echo adsense code in a div with PHP?
-
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.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to echo adsense code in a div with PHP?’ is closed to new replies.