Title: Using none PHP code in HTML+PHP Cause Error
Last modified: May 3, 2024

---

# Using none PHP code in HTML+PHP Cause Error

 *  Resolved [digitalbolt](https://wordpress.org/support/users/digitalboltwebdesign/)
 * (@digitalboltwebdesign)
 * [2 years ago](https://wordpress.org/support/topic/using-none-php-code-in-htmlphp-cause-error/)
 * I built a custom form using Vue.js CDN where In the html I can write template
   code like this.
 *     ```wp-block-code
       </div>
               <strong>{{name}}</strong>
             </div>
       ```
   
 * The issue is I think because I am using none recognized PHP I get errors trying
   to get the html to render is there a way to separate HTML+PHP so it’s not combined
   in the plugin or is there a way to tell the plugin to ignore unrecognizable php
   code. For me to get my form to work I have to use WPCode to render the HTML because
   it allows to use separate code snippets just for HTML only. When I try to use
   Fluent Snippets I get error
 *     ```wp-block-code
       Parse error: syntax error, unexpected 'version' (T_STRING) in /fluent-snippet-storage/25-test-form-html.php on line 221
   
       Fatal error: Exception thrown without a stack frame in Unknown on line 0
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ruman Ahmed](https://wordpress.org/support/users/algorithmsunlocks/)
 * (@algorithmsunlocks)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/using-none-php-code-in-htmlphp-cause-error/#post-17993424)
 * Hello @digitalboltwebdesign,
 * Apologies for the delayed response, and thank you for providing the information.
   At present, within a **_PHP+HTML_** snippet, there is no default option to ignore
   unrecognized PHP code. Additionally, FluentSnippets does not offer a separate
   option solely for HTML code snippets, as you may have noticed.
 * Furthermore, I have notified our team to conduct an investigation for potential
   enhancements.
 * Best regards,
   Ruman Ahmed

Viewing 1 replies (of 1 total)

The topic ‘Using none PHP code in HTML+PHP Cause Error’ is closed to new replies.

 * ![](https://ps.w.org/easy-code-manager/assets/icon.svg?rev=3011466)
 * [FluentSnippets - The High-Performance file based Custom Code Snippets Plugin](https://wordpress.org/plugins/easy-code-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-code-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-code-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ruman Ahmed](https://wordpress.org/support/users/algorithmsunlocks/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/using-none-php-code-in-htmlphp-cause-error/#post-17993424)
 * Status: resolved