hi,
i have an FreeRTE editor used in my site but whenever i enter something in the TextArea of the editor is not showing in the DB , can anyone tell me what's wrong with my that Piece of Code
How can i Get that Content Variable Through POST ??
i have an FreeRTE editor used in my site but whenever i enter something in the TextArea of the editor is not showing in the DB , can anyone tell me what's wrong with my that Piece of Code
Code:
function freeRTE_Preload($content) { // // Strip newline characters. $content = str_replace(chr(10), " ", $content); $content = str_replace(chr(13), " ", $content); // // Replace single quotes. $content = str_replace(chr(145), chr(39), $content); $content = str_replace(chr(146), chr(39), $content); // // Return the result. return $content; } $content = freeRTE_Preload("") ; <script> initRTE('<?echo $content ;?>', 'example.css'); </script>
Comment