It's the typical unterminated issue that I've been reading about in tons of posts.
I've tried a number of code "fixes" that people have posted and they have been unsuccessful. I have tried doing the same thing as the doc show http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Integration/PHP#Complete_Sample, and tried editing things to work MY way. The sample for posted data has the following:
<?php if ( isset( $_POST ) ) $postArray = &$_POST ; // 4.1.0 or later, use $_POST else $postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS foreach ( $postArray as $sForm => $value ) { if ( get_magic_quotes_gpc() ) $postedValue = htmlspecialchars( stripslashes( $value ) ) ; else $postedValue = htmlspecialchars( $value ) ; ?> <tr> <th><?php echo $sForm?></th> <td><pre><?php echo $postedValue?></pre></td> </tr> <?php } ?>
Where, exactly, do I pass my variable? If I look up an id# for a comment that was submitted, pull it from the database and call it $comment, how do I pass the value into the sample posted data code? I've tried numerous ways to get it "read" by the sample posted data code, but can't get it to work.
BTW, I'm running into this problem when I've submitted nothing but lists. The database code show the proper ul li code and if I do a simple echo, it's ok. Only with fckeditor am I getting the problem.
Re: NOW where am I going wrong?
str_replace("\r\n","",$variable_name);