display php

Re: display php

by Jan Dierckx -
Number of replies: 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>