Hello I was previously using the fckeditor for .asp pages and it worked great.
In my project I put .asp code in the text area to call a template design in a query (which was HTML).
It worked great.
I tried to do the same thing in PHP and now the entire page just goes blank.
How do I add templates or PHP code within the editor text field like I did with .asp?
$oFCKeditor->Value = 'hi' ;
//that works but...
$oFCKeditor->Value = ?= $useTemplate['template_content'] ;
//this does not work at all....
In my project I put .asp code in the text area to call a template design in a query (which was HTML).
It worked great.
I tried to do the same thing in PHP and now the entire page just goes blank.
How do I add templates or PHP code within the editor text field like I did with .asp?
$oFCKeditor->Value = 'hi' ;
//that works but...
$oFCKeditor->Value = ?= $useTemplate['template_content'] ;
//this does not work at all....

Re: Adding PHP code in the editor text field issues
I need to do an if statement to see if there is a query and if so post it.
Just a little long hand.