How can I add PHP as content with HTML editor?
I believe its not possible to add php code in CiviCRM text area or ckeditor fields. I guess for security reasons it doesn't allow you to add any code snippets. Alternate solution is to use hook to alter the content of the field by using tokens.