I created a from which includes a textarea, this data will be saved to mysql, when I retrieve it, I want to only display the first two lines of this textarea data(ignore the rest), and only limit to text format(not html), how can I do that?
If I continue to type in textarea without hit return, it will show a long string after retrieving from mysql, I want to know how to control the display format.
thanks for any help.
michael