I need to enter information about ECTS points for each course in it's summary.
So, I'd like to have a function in php that receives points value as argument, processes it and returns me a string.
I guess I should create php file with this function and then insert this code in HTML editor (text mode):
where filename.php is my php file, function123 is my function and 6 is points value.
However, HTML editor simply removes this code after I save course settings.
In a matter of fact, I can't enter something as simple as:
I am not asking for help about php (I'm not an expert, but there are resources on the Internet, I'll learn ), but for embedding the php into HTML editor.
Can someone help me with this?
Thanks in advance.