Title: Php code not working
Last modified: September 8, 2022

---

# Php code not working

 *  [tareq07](https://wordpress.org/support/users/tareq07/)
 * (@tareq07)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-code-not-working-8/)
 * Hello,
 * I have to added PHP code in the ad inserter look at [https://ibb.co/dW3zGYR](https://ibb.co/dW3zGYR)
   
   The html generate from your plugin [https://ibb.co/TcDtpdR](https://ibb.co/TcDtpdR)
   No PHP code executes. What is the problem?

Viewing 1 replies (of 1 total)

 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-code-not-working-8/#post-15990564)
 * Hard to say why the PHP is not getting executed. But you can try putting
 * `<?php echo 'hello world'; ?>`
 * this code in ad inserter and enable the PHP toggle and check if you see the `
   hello world` test in your page or still seeing issue.
 * If that code is also giving issue, you need to figure out what’s causing the 
   PHP not to work.

Viewing 1 replies (of 1 total)

The topic ‘Php code not working’ is closed to new replies.

 * ![](https://ps.w.org/ad-invalid-click-protector/assets/icon-256x256.png?rev=1534940)
 * [Ad Invalid Click Protector (AICP)](https://wordpress.org/plugins/ad-invalid-click-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-invalid-click-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-invalid-click-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-invalid-click-protector/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/php-code-not-working-8/#post-15990564)
 * Status: not resolved