Title: PHP code shortened after page save
Last modified: August 22, 2016

---

# PHP code shortened after page save

 *  Resolved [sternhagel](https://wordpress.org/support/users/sternhagel/)
 * (@sternhagel)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-code-shortened-after-page-save/)
 * Hello, thanks for the plugin!
 * Working great for me, except for one thing:
    I used the PHP everywhere field 
   to insert a rather complex HTML form with tables and lots of embedded PHP tags.
   After inserting the whole code and saving the page, everything works fine. If
   you edit the page again, though, parts of the code are missing from the edit 
   field, but are displayed outside the field, somehow disturbing the wordpress 
   backend. If you save the page now, the incomplete PHP code will be saved, ignoring
   the parts displayed outside the input field. So now every time I edit the wordpress
   page with the PHP form on it, I have to re-enter the PHP code from an external
   source, which is a bit annoying.
 * Any ideas how to fix this? Looks to me like the code is not always escaped properly
   before displaying it in the backend.
 * [https://wordpress.org/plugins/php-everywhere/](https://wordpress.org/plugins/php-everywhere/)

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

 *  Plugin Author [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * (@alexander_fuchs)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-code-shortened-after-page-save/#post-5786317)
 * You are right, I did not escape properly. Thanks I will fix it.
 *  Plugin Author [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * (@alexander_fuchs)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-code-shortened-after-page-save/#post-5786373)
 * I updated the plugin. This issue is now fixed.
 *  Plugin Author [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * (@alexander_fuchs)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-code-shortened-after-page-save/#post-5786374)
 * topic resolved

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

The topic ‘PHP code shortened after page save’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-everywhere_5f7aae.svg)
 * [PHP Everywhere](https://wordpress.org/plugins/php-everywhere/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-everywhere/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-everywhere/)
 * [Active Topics](https://wordpress.org/support/plugin/php-everywhere/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-everywhere/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-everywhere/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alex](https://wordpress.org/support/users/alexander_fuchs/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/php-code-shortened-after-page-save/#post-5786374)
 * Status: resolved