hello,
I m using FCKeditor for my web application. I am using HTML, PHP, and MySQL. I am saving the data from FCKeditor into MySQL. and again calling the data from database. its running fine but if I have submit the data with single quote(') than FCKeditor does not display. because of I have used oFCKeditor.value='{$MyData.FCK_content}' so when it reads any single qoute is gives an error. now if I use oFCKeditor.value="{$MyData.FCK_content}" means in double quote its displays fine with no problem. but if content contains any double quote than again the same problem arise.
so I want to know that is there any escape character for FCKeditor.value. so that I can solve this problem.
please suggest me any better approach.
I m using FCKeditor for my web application. I am using HTML, PHP, and MySQL. I am saving the data from FCKeditor into MySQL. and again calling the data from database. its running fine but if I have submit the data with single quote(') than FCKeditor does not display. because of I have used oFCKeditor.value='{$MyData.FCK_content}' so when it reads any single qoute is gives an error. now if I use oFCKeditor.value="{$MyData.FCK_content}" means in double quote its displays fine with no problem. but if content contains any double quote than again the same problem arise.
so I want to know that is there any escape character for FCKeditor.value. so that I can solve this problem.
please suggest me any better approach.