Hello,
I am trying to implement fckeditor for the first time. I have seen an example of fck editor saving the html in a file but can it save the html in a php variable? I need to save the html to a string variable and then save the value in the database. Could someone kindly post back with a small example. Many thanks in advance.
I am trying to implement fckeditor for the first time. I have seen an example of fck editor saving the html in a file but can it save the html in a php variable? I need to save the html to a string variable and then save the value in the database. Could someone kindly post back with a small example. Many thanks in advance.

Re: Can fck editor save to a string variable?
in php you use:
<?php $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ; $oFCKeditor->Create() ; ?>Then, to get your variable, try:
Hope that helps.
Re: Can fck editor save to a string variable?
Re: Can fck editor save to a string variable?