hi, i think this question has been posted before but without much solutions.
im facing the same problem. i inserted user submitted strings to mysql, replacing \n with <br>
so now i would like to display the first 100 characters of this string. but i encounter a prob whereby the <br> tag would be broken OR it will be displayed in the string. (e.g: hello world <b OR hello world<br>)