Adding RETURN line breaks to a database

This is a discussion on "Adding RETURN line breaks to a database" within the Classic ASP section. This forum, and the thread "Adding RETURN line breaks to a database are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Aug 19th, 2004, 08:53
Junior Member
Join Date: Jun 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Adding RETURN line breaks to a database

I've created a bulletin board but it does not accept carriage returns and reproduces text as one big horrible block. Is there anyway around this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Aug 19th, 2004, 09:45
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,192
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Hi Lizard...

I can see why this would be a problem.

Line breaks inside text boxes will not automatically convert to html
tags.

You can convert the line breaks to html
like this:-
Code: Select all
strString = Replace(strString,vbcrlf,"
")
Is that what you meant?

Hope this helps.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Aug 19th, 2004, 09:49
Junior Member
Join Date: Jun 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
<blockquote id="quote" class="ffs">quote:<hr height="1" noshade="noshade" id="quote" />
You can convert the line breaks to html
like this:-
Code: Select all
strString = Replace(strString,vbcrlf,"
")
Is that what you meant?

Hope this helps.<hr height="1" noshade="noshade" id="quote" /></blockquote id="quote">

Will give it a go - but looks right to me! Ta
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
adding, return, line, breaks, database

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeing Line Breaks? Jack Franklin PHP Forum 2 Feb 24th, 2008 20:55
Line breaks alexgeek Other Programming Languages 1 Nov 1st, 2007 01:51
retrieving and displaying line breaks nate2099 Databases 1 Jul 13th, 2007 08:56
eref, textarea, line breaks ppgpilot PHP Forum 2 Jan 20th, 2007 18:13
adding to database benbacardi Classic ASP 17 Aug 18th, 2004 12:28


All times are GMT. The time now is 11:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42