insert into mysql keep original format

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Locked
vuacorona
Forum Newbie
Posts: 3
Joined: Tue Oct 10, 2006 12:06 pm

insert into mysql keep original format

Post by vuacorona »

Dear all gurus,

I build a table in MySQL, and in the table has a column name artical with text as datatype. I also have a textbox in the html form. When I pasted some texts from word into this textbox and import into database, then I lost all of the indent as well as newline.

I had searched the forum, but I could find any similar result for my question. Your advise is appreciated.

Again thank you very much for sharing your knowledges.


.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Locked