Hey go�a Kristinn

Two ways:
        Replace before adding content to DB,
replace(strContent,chr(10),"<br>")
        Or
        When you write it out, same syntax:
replace(strContent,chr(10),"<br>")

-chris

-----Original Message-----
From: Kristinn Sigurp�ll Sturluson [mailto:[EMAIL PROTECTED]] 
Sent: 13. august 2002 23.08
To: ActiveServerPages
Subject: Inserting text into a database with formatting.

I�m trying to insert text into a database (guestbook, lyrics etc.) but I
can�t figure out how to make the text appear as written. For example if
I
want to make a space between lines by pressing enter or indenting
certain
lines by pressing space or tab. Does anyone know the answer to this?

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to