Injecting PHP code into a Page
How can i add PHP code into a Page content (not template)?
Point is, i have downloaded a rating script, this script can be called like:
I can call it from a template without a problem, but i want to be able to rate a Page. So i thought in the Page content i put the above code and change the vars as needed.
However all php code is shown as text instead of executed.
And if this is not possible, can i put it in the template and how can i make the 2 vars unique for every called Page?
Thanks for any help..
- The topic ‘Injecting PHP code into a Page’ is closed to new replies.