hello, first of all i apologize for my english, I´m from Guatemala so i have a very bad sintaxis.
well I was triying to display some data with php in a label or a web page in moodle but instead of interpretate the php, moodle displays the php code that i write.
somebody knows how to make that html editor or moodle displays the php interpretated.
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.