Hi
I retrieve the text that the fckeditor from a database the text is escaped and then the slashes are added using
htmlspecialchars(stripslashes(ucfirst($message_contents->msg_body)));
(however even if the slashes are not added I can see the text ...
This is the code :
Using this line <td> {$value}</td> i can confirm that the text is always there ......
This will always work with the text the size of 50 -100 words but it wont work for anything more than that eg 500 words (the fckeditor doesnt appear in the page)
The text i am using in the db is the default:::Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque cursus, nisl ut adipiscing blandit, nibh eros lobortis orci, id ullamcorper lorem lacus at enim. Nunc nunc eros, tempus sodales imperdiet volutpat. Morbi dignissim dapibus suscipit. Nam convallis pellentesque justo scelerisque tincidunt. Duis c
Thanks
I retrieve the text that the fckeditor from a database the text is escaped and then the slashes are added using
htmlspecialchars(stripslashes(ucfirst($message_contents->msg_body)));
(however even if the slashes are not added I can see the text ...
This is the code :
<tr> <td> {$value}</td> <td><!--{$variable} -->{*<textarea rows="5" cols="20" name="mail_description"></textarea>*} {literal} <script type="text/javascript"> var oFCKeditor = new FCKeditor( 'mail_description' ) ; oFCKeditor.BasePath = './FCKeditor/'; oFCKeditor.Height = 300 ; oFCKeditor.Width = 570 ; oFCKeditor.Value = "{/literal}{$value}{literal}"; oFCKeditor.Create() ; </script> {/literal}</td> <td> </td> </tr>
Using this line <td> {$value}</td> i can confirm that the text is always there ......
This will always work with the text the size of 50 -100 words but it wont work for anything more than that eg 500 words (the fckeditor doesnt appear in the page)
The text i am using in the db is the default:::Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque cursus, nisl ut adipiscing blandit, nibh eros lobortis orci, id ullamcorper lorem lacus at enim. Nunc nunc eros, tempus sodales imperdiet volutpat. Morbi dignissim dapibus suscipit. Nam convallis pellentesque justo scelerisque tincidunt. Duis c
Thanks