display php

Re: display php

Jan Dierckx
Vastuste arv 0

Having Moodle interpret and execute PHP code inserted through the HTML editor would be very unsafe.

Try adding an iframe inside the label or resource which points to the complete PHP script. Something like <iframe src="myscript.php></iframe>