So here's a good one:
I'm using FckEditor with PHP/MySQL
Every time I use FckEditor, either to create a new entry or update an old one, it automatically inserts a "rn" after a line break or a "<p>rn</p>" after a paragraph break into the source code, creating lots of "rn"s on my page.
Additionally, when I test it, the "rn" seems to be added as or after I send the variable via _POST method. Relevant code below:
<form method="post" enctype="multipart/form-data" action="update_post.php">...
<?php
//have previously queried database for earlier version of "content" posting, as evidenced by $row['content']
$oFCKeditor = new FCKeditor('content') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
//gets data from array, decodes it, and inserts it into fckeditor
$oFCKeditor->Value = html_entity_decode($row['content']) ;
$oFCKeditor->Create() ;
?>
...</form>
Any ideas?
I'm using FckEditor with PHP/MySQL
Every time I use FckEditor, either to create a new entry or update an old one, it automatically inserts a "rn" after a line break or a "<p>rn</p>" after a paragraph break into the source code, creating lots of "rn"s on my page.
Additionally, when I test it, the "rn" seems to be added as or after I send the variable via _POST method. Relevant code below:
<form method="post" enctype="multipart/form-data" action="update_post.php">...
<?php
//have previously queried database for earlier version of "content" posting, as evidenced by $row['content']
$oFCKeditor = new FCKeditor('content') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
//gets data from array, decodes it, and inserts it into fckeditor
$oFCKeditor->Value = html_entity_decode($row['content']) ;
$oFCKeditor->Create() ;
?>
...</form>
Any ideas?