Jump to content

Displaying text field


abhinavsingh89

Recommended Posts

hey frnds!!

i have a text field in my mysql database which contains paragraphs n includes new line (\n) characters. now when i echo that field it simply shows all the data in one line.. that is it doesnt take into account the new line characters and tab spaces. I have inserted the value with tab spaces and new line as it automatically takes the \n and \r. Now what i want to do is display the text properly and same as what i have inserted. so cn u guys help me.. Thnx in advance  :)

Abhinav

Link to comment
https://forums.phpfreaks.com/topic/193662-displaying-text-field/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.