I have a blob field that I use to store a large amount of text, I need to be able to read the string and turn it into several line, (right now it shows up as one long string), would someone please point me to a function that I can use to turn this string into several 80 character lines. I need to be able to edit it.
thank you
Turning a Blob Field into multiple lines
Moderator: General Moderators
-
PastorHank
- Forum Contributor
- Posts: 117
- Joined: Sat Jun 03, 2006 7:58 am
- Location: Texas Hill Country
-
PastorHank
- Forum Contributor
- Posts: 117
- Joined: Sat Jun 03, 2006 7:58 am
- Location: Texas Hill Country
I didn't state the problem correctly.
I've also tried
Neither works. It generates an input field that is a single row and approximately 25 characters. I can't get it to expand with the scroll bars, all the text shows up but in a single line.
I've also tried it with a soft wrap and with no wrap
Code: Select all
echo "<input type=textarea wrap='hard' cols='70' rows='7' name='journal_entry' value='$journalentry'>";Code: Select all
echo "<input type='textarea' wrap='hard' cols='70' rows='7' name='journal_entry' value='$journalentry'>";I've also tried it with a soft wrap and with no wrap
-
PastorHank
- Forum Contributor
- Posts: 117
- Joined: Sat Jun 03, 2006 7:58 am
- Location: Texas Hill Country