I am having a problem with this editor posting the correct source code to my database: http://www.dynamicdrive.com/dynamicindex16/openwysiwyg/index.htm
When the source of the editor is posted to my database for some reason it is adding "\" in the following locations...
the random text is just a test I did, the source on the editor shows correctly, it's just after the php script posts the info to the mysql database it is adding in the extra bit of code.
I think that I need to add this code into where I want the info to display, but I am not sure how to do it:
something like
<? string stripcslashes (string $str );
echo "$description";
?>
I know I am probably way off with the coding part, however can anyone help?
When the source of the editor is posted to my database for some reason it is adding "\" in the following locations...
Code:
<FONT style=[COLOR="Red"]\[/COLOR]"BACKGROUND-COLOR: #996600[COLOR="Red"]\[/COLOR]">alfjksa;lfjksadl;jfsladjflsakjfl;kjflkj</FONT>
the random text is just a test I did, the source on the editor shows correctly, it's just after the php script posts the info to the mysql database it is adding in the extra bit of code.
I think that I need to add this code into where I want the info to display, but I am not sure how to do it:
Code:
string stripcslashes ( string $str )
something like
<? string stripcslashes (string $str );
echo "$description";
?>
I know I am probably way off with the coding part, however can anyone help?
Last edited:





