PHP Commented Out in Simple Pages


When I add php to a simple page using the HTML Source Editor, and then save the changes to the page, the php is commented out, like this:


Any ideas why this is happening? It's really getting in the way...

The HTML editor will always comment out PHP code. To write PHP, you need to uncheck the box to use the HTML Editor.

A-ha! I hadn't come across that little tidbit before :-) I had seen where it said not to use the HTML editor to enter php code, but I thought that referred to the TinyMCE editor itself, and that you were supposed to use the HTML Source Editor. Thank you for the clarification.