March 14, 200917 yr hi all just trying to finish my cms off and the only problem i have is that when i have a <br> or a ' in the code it closses the editor down i have tried the following with no luck $content = $_POST['FCKeditor1']; $content = str_replace("'", "\'", $content); $content = str_replace("\r\n", "\\n", $content); any one have any ideas thank you
March 14, 200917 yr Author hi alljust trying to finish my cms off and the only problem i have is that when i have a <br> or a ' in the code it closses the editor down i have tried the following with no luck $content = $_POST['FCKeditor1']; $content = str_replace("'", "\'", $content); $content = str_replace("\r\n", "\\n", $content); any one have any ideas thank you fixed it thanks any way $content = $_POST['FCKeditor1']; $content = str_replace("'", "''", $content); $content = str_replace("\r\n", " ", $content);
March 15, 200917 yr Author Just for your future reference: JavaScript is not server side programming. no but the fix for the problem is
Create an account or sign in to comment