Put PHP code into a standard page

Hi Guys, I got a quiz, I need your help.


Currently, I wanna put some PHP code into a standard page, also JS as well.



could anyone know how to do it, plz?



cheers

You can't put PHP into any part of Matrix unless you create and install a custom module. Being able to use PHP to interact with the underlying framework would be a big security risk, so it is not allowed.


You can put JS in a page though. You need to change the content type of a DIV from WYSIWYG to Raw HTML. You then get a text box instead of a WYSIWYG editor, where you can enter any HTML/JS source you want.

Thanx, I will try it now. cheers