jonw118 Posted May 26, 2008 Share Posted May 26, 2008 I use FCKeditor and when I use this line for inserting the code into the database, it is automatically inserting a "rn" at the beginning of every time there is a line break. Can someone think of what I need to change so it does not insert that when adding it into the database? I think it has something to do with the line I highlighted in red if(isset($HTTP_POST_VARS['name'])) { saveEdContent($HTTP_POST_VARS['name'], mysql_real_escape_string($HTTP_POST_VARS['editor_content'])); } tep_redirect(tep_href_link(FILENAME_PROFORMA_FC, 'action=edit_unit&pf_name='.$HTTP_POST_VARS['name'])); break; Thanks so much! Link to comment https://forums.phpfreaks.com/topic/107335-problem-with-my-code-using-_string/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.