How can I insert PHP code inside the content of a page
I tried tags and it didn't work. CMS apparently comments it out the tags as soon as it saves.
PHP code in page content
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: PHP code in page content
Two methods:
a) Use a user defined tag (this is the preferred method)
b) surround your php code with {literal} and {/literal} tags.
a) Use a user defined tag (this is the preferred method)
b) surround your php code with {literal} and {/literal} tags.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
