Title: [Plugin: Code Insert Manager (Q2W3 Inc Manager)] php code insert
Last modified: August 20, 2016

---

# [Plugin: Code Insert Manager (Q2W3 Inc Manager)] php code insert

 *  [scaltro](https://wordpress.org/support/users/scaltro/)
 * (@scaltro)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-code-insert-manager-q2w3-inc-manager-php-code-insert/)
 * PHP Parse error: syntax error, unexpected ‘<‘ in /var/www/wordpress/wp-content/
   plugins/q2w3-inc-manager/q2w3-inc-manager.php(1137) : eval()’d code on line 1
 * I always had this error in my Apache while I’m trying to add php code on the 
   header of each pages…
 * this is the code
    <?php require_once(‘/var/www/owa/owa_php.php’); $owa = new 
   owa_php(); $owa->setSiteId(‘xxxxxxx’); $owa->trackPageView(); $owa = & new owa_php;
   $owa->placeHelperPageTags(); ?> But if I remove the <?php?> tag the text is just
   printed on the browser… How can I execute PHP code?
 * [http://wordpress.org/extend/plugins/q2w3-inc-manager/](http://wordpress.org/extend/plugins/q2w3-inc-manager/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-code-insert-manager-q2w3-inc-manager-php-code-insert/#post-3085210)
 * Hm… the syntax looks fine…
    Try some tests: 1. Make a new insert. Try to execute
   an empty line of php code: `<?php ?>` 2. Try to execute a simple php code: `<?
   php echo ‘It works!’; ?>

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Code Insert Manager (Q2W3 Inc Manager)] php code insert’ is 
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/q2w3-inc-manager.svg)
 * [Code Insert Manager (Q2W3 Inc Manager)](https://wordpress.org/plugins/q2w3-inc-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/q2w3-inc-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/q2w3-inc-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q2w3-inc-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q2w3-inc-manager/reviews/)

## Tags

 * [INCLUSION](https://wordpress.org/support/topic-tag/inclusion/)
 * [php code](https://wordpress.org/support/topic-tag/php-code/)

 * 1 reply
 * 2 participants
 * Last reply from: [Max Bond](https://wordpress.org/support/users/max-bond/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-code-insert-manager-q2w3-inc-manager-php-code-insert/#post-3085210)
 * Status: not resolved