WordPress.org

Ready to get started?Download WordPress

Forums

Insert PHP
[resolved] Tested PHP script does not work (5 posts)

  1. solixta
    Member
    Posted 1 year ago #

    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/

  2. solixta
    Member
    Posted 1 year ago #

    Comment, I just tried with INCLUDE to the original PHP file and that works!

    Henrik

  3. WillBontrager
    Member
    Plugin Author

    Posted 1 year ago #

    resolved

  4. CheekyTourist
    Member
    Posted 11 months ago #

    Solixta,

    Can you explain what you mean when you say

    I just tried with INCLUDE to the original PHP file
    ?

    Thanks!

  5. amolpawar8
    Member
    Posted 2 months ago #

    Can you explain what you mean when you say

    I just tried with INCLUDE to the original PHP file ?

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic