Let's say I have a database full of poems or songs. I have a table with a memo field to hold the lines to the poem, and want to query the DB and output the text. If the text is all one word after another, how can I output it with carriage returns in the proper places? Can I do something like put semi-colons in the memo field and tell coldfusion to give me a <BR> when it encounters a semi-colon? Obviously, I'm not sure what to do, but hopefully you all know what I'm getting at.
For example: If the text in the memo field is like so:
How can I output it like this:
Clear as mud? Thanks in advance guys!
Kevin
slanek@ssd.fsi.com
For example: If the text in the memo field is like so:
Code:
This is a poem; I know it is a really bad one; It doesn't even rhyme; I shouldn't quit my day job
How can I output it like this:
Code:
This is a poem;
I know it is a really bad one
It doesn't even rhyme
I shouldn't quit my day job
Clear as mud? Thanks in advance guys!
Kevin
slanek@ssd.fsi.com