Using none PHP code in HTML+PHP Cause Error
-
I built a custom form using Vue.js CDN where In the html I can write template code like this.
</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
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
The topic ‘Using none PHP code in HTML+PHP Cause Error’ is closed to new replies.