0

I have a problem with MySQL. I have a text area when line break is enter with data it will be save in data base but When I try to Edit it I will be Not Edited it show in firebug's Console "unterminated string literal". What is the Problem and how can I get rid from it. I want to save data with line breaks and edit it. Addition, Updation and Deletion of data is Performed with AJAX and Jquery.

  • I think you should add some more information and maybe some code! Are you sanitizing this with anything, like real_escape_string, htmlentities. Is this myIsam/InnoDB, what character set is set for MySQL, how are your retrieving and editing the data (the ajax function is probably not important), by line breaks do you mean \n or
    , there is nothing but questions arising from your question??
    – adeneo Mar 12 '12 at 14:54
  • This is surely a Javascript problem because you are seeing the error message in the firebug console, and may be a related to http://stackoverflow.com/questions/227552/common-sources-of-unterminated-string-literal – msgmash.com Mar 12 '12 at 15:08

0 Answers0