I could not explain what I need friends. My clients are entering their address info and requests using the two text areas. For example:

When a client writes two paragraphs to address section and presses enter twice, I don't want it to appear on the text area. But when she finishes and clicks submit, the info going to the database must contain <br> tags instead of \n

And a second thing is address info editing pages. I type an info to my database which contains \n tags in it. But when put the value in which from database between the <textarea> </textarea> tags, my text area does not recognise \n tags as a break and simply writes \n

I will be glad if you can help me.

Thanks

Ancora

01-04-2007, 06:17 PM

telmessos:

I'm not certain whether you are inserting <br> in your database, or \n, so the following contains an example of both situations.