kcwallace Posted July 31, 2006 Posted July 31, 2006 I have a web site that I need to pull formatted text (paragraphs) out of a database and populate a web page. Does anyone have any suggestions for the best method? Every method I seem to choose drops the formatting. Do I need to manually create the line breaks? Quote Go Beavs!!!
Gill Bates Posted August 1, 2006 Posted August 1, 2006 If carriage returns are stored in the text then you just need to replace them with "<br>". Quote
kcwallace Posted August 1, 2006 Author Posted August 1, 2006 THat seems like a very manual method. Isn't there a more automatic method? Quote Go Beavs!!!
Administrators PlausiblyDamp Posted August 1, 2006 Administrators Posted August 1, 2006 How is it formatted in the database? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
kcwallace Posted August 1, 2006 Author Posted August 1, 2006 It is in a NText field. It is text that is basically copied and pasted from a text file, or a word document. Quote Go Beavs!!!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.