Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Marcelo on Jun 19, 2009 19:02
open dhtmlx forum
php variables

Hi, How can I send the content of the dhtmlxEditor to a php variable? I Want to send this content to a database. And how can I put a php variable content, inside of the dhtmlxEditor?
Answer posted by Alex (support) on Jun 22, 2009 00:33

Hello,

there is getContent() method that returns html content. It is better to use POST to send this string ( GET has a limit ). 

To load set editor content you can use either: 
  setContent(html_string)
or 
  setContentHTML(path_to_html) /*loads content by Ajax*/