Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [charly] dbman -> dbman sql (paragraph indenting)

Quote Reply
Re: [charly] dbman -> dbman sql (paragraph indenting) In reply to
Hi Charly,

Isn't there anyway to edit the dbman code so that the paragraph spacings are entered into the text by the database. For example, I use the following line of code to keep text formatting:

Code:
# Keeps line spacing in text field.
$rec{'Case History'} =~ s/\n/<BR>/g;
$rec{'Modification History'} =~ s/\n/<BR>/g;


Can I edit this in anyway to make it so that the db puts in <p> or <br> into the .db file instead of ````?

Perhaps I should try changing the code to:

Code:
$rec{'Case History'} =<p> s/\n/<BR>/g;


Reena
Reena
Subject Author Views Date
Thread dbman -> dbman sql (paragraph indenting) Reena0330 3650 Jun 10, 2002, 1:13 PM
Thread Re: [Reena0330] dbman -> dbman sql (paragraph indenting)
charly 3577 Jun 10, 2002, 1:46 PM
Thread Re: [charly] dbman -> dbman sql (paragraph indenting)
Reena0330 3578 Jun 10, 2002, 1:57 PM
Thread Re: [Reena0330] dbman -> dbman sql (paragraph indenting)
charly 3559 Jun 12, 2002, 9:05 AM
Thread Re: [charly] dbman -> dbman sql (paragraph indenting)
charly 3571 Jun 15, 2002, 1:44 PM
Post Re: [charly] dbman -> dbman sql (paragraph indenting)
Reena0330 3529 Jun 21, 2002, 4:01 PM
Thread Re: [charly] dbman -> dbman sql (paragraph indenting)
Reena0330 3516 Jun 27, 2002, 5:14 PM
Post Re: [Reena0330] dbman -> dbman sql (paragraph indenting)
charly 3497 Jun 28, 2002, 2:26 AM
Post Re: [Reena0330] dbman -> dbman sql (paragraph indenting)
YoYoYoYo 3164 Feb 12, 2003, 7:10 AM