Hi, does mysql sometimes had <br>'s to flowing text when it is inserted into the database? I have a textarea, but formatting keeps getting messed up because too many linebreaks keep getting put in. Is there a way to get around this? Thanks!
Jason
Originally posted by jpr Hi, does mysql sometimes had <br>'s to flowing text when it is inserted into the database?
no. mySQL is storing whatever you are inseting into it. if you insert a string with line breaks then thats how it will be when it comes out. be advised that different browsers/platforms have different special characters for line breaks: unix: /n windows: /r/n macintosh: /r if you are collecting data via a webform then you may well be inserting strings using various line break encodings.