View Full Version : Cannot display pulled text from database in my rich text area

10-16-2008, 09:36 AM
1) Script Title: Rich Text area (for textareas)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm

3) Describe problem: I am using this for one of my textareas on my form and the rich text aspect works fine.

However, the text entered into the rich text area is then submitted into an SQL Server 2005 database table. So when the user next goes in they can view the text they previously entered and continue adding more text.

This is the problem I'm facing!

I cannot display text from my SQL Server database table using this rich text area.

I usually just use:

<%=objRS("review")%> at the end of my textarea and it pulls the text from the database and displays it within my textarea.

But cannot seem to do this with the rich text area.

I have tried entering the above using html as:

writeRichText('rte1', '&lt;&#37;&#61;&#111;&#98;&#106;&#82;&#83;&#40;&#34;&#114;&#101;&#118;&#105;&#101;&#119;&#34;&#41;&#37;&gt; "hello"', 400, 200, true, false);

But this also failed to display the text from my database table in the rich text area.

Does anyone know of any way around this at all?

Any help most appreciated.