Jump to content

Problem with my code using _string


jonw118

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.