MySQL Forums
Forum List  »  Newbie

Convert text to HTML while importing
Posted by: rpaccard
Date: June 14, 2005 02:26PM

I am importing data into a table and one field is text that will be displayed on an HTML page. Right now it's plain text, but I want it to be displayed with line and paragraph breaks on the web site.

Is there a way to convert line and paragraph breaks to <br> and <p> while importing and store it that way in the table?

Or is this rather done with PHP when pulling the data from the table?

Any help and advice welcome.

Options: ReplyQuote


Subject
Written By
Posted
Convert text to HTML while importing
June 14, 2005 02:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.