Title: Tested PHP script does not work
Last modified: August 21, 2016

---

# Tested PHP script does not work

 *  Resolved [solixta](https://wordpress.org/support/users/solixta/)
 * (@solixta)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/tested-php-script-does-not-work/)
 * Hi,
 * I have tested my original PHP script and it works fine but when placed inside
   WP using your PHP tags, I have the following errors:
 * Parse error: syntax error, unexpected $end in /home/sol/public_html/merchants/
   wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 3
 * Parse error: syntax error, unexpected ‘}’ in /home/sol/public_html/merchants/
   wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 2
 * If you have any idea what can cause this problem then I appreciate to hear back
   from you.
 * Thanks,
 * Henrik
 * [http://wordpress.org/extend/plugins/insert-php/](http://wordpress.org/extend/plugins/insert-php/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [solixta](https://wordpress.org/support/users/solixta/)
 * (@solixta)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/tested-php-script-does-not-work/#post-3881187)
 * Comment, I just tried with INCLUDE to the original PHP file and that works!
 * Henrik
 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/tested-php-script-does-not-work/#post-3881368)
 * resolved
 *  [CheekyTourist](https://wordpress.org/support/users/cheekytourist/)
 * (@cheekytourist)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/tested-php-script-does-not-work/#post-3881388)
 * Solixta,
 * Can you explain what you mean when you say
 * > I just tried with INCLUDE to the original PHP file
 * ?
 * Thanks!
 *  [amolpawar8](https://wordpress.org/support/users/amolpawar8/)
 * (@amolpawar8)
 * [12 years ago](https://wordpress.org/support/topic/tested-php-script-does-not-work/#post-3881410)
 * Can you explain what you mean when you say
 * I just tried with INCLUDE to the original PHP file ?
 * Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Tested PHP script does not work’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [PHP script](https://wordpress.org/support/topic-tag/php-script/)

 * 4 replies
 * 4 participants
 * Last reply from: [amolpawar8](https://wordpress.org/support/users/amolpawar8/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/tested-php-script-does-not-work/#post-3881410)
 * Status: resolved