When using FCKEditor, I click on 'SOURCE' and try to put in PHP code. I find that the editor formats the code, is there any way around this or a setting I could change? The editor is within a .php page and everything else works great! Thanks!
Sun, 06/19/2005 - 06:38
#1
RE: Saving PHP code in SOURCE
In my case it will not save the php code instead it comments the PHP code out. this is a big problem for me and i could not fix it by now.
greetings, pipe
RE: Saving PHP code in SOURCE
Any way around this - a setting to change possibly?
thanks!
RE: Saving PHP code in SOURCE - answer (ASP)
The answer is that in fckconfig.js there is a commented out line called
FCKConfig.ProtectedSource.Add (reg-expression) for PHP - uncomment it and you should find php code is untouched
Also a similar line for ASP and asp.net