Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 19th, 2001, 04:19 AM
beun beun is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Nancy, France
Posts: 0 beun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BR> Tag

Hi!!!
I got a problem when i fill a form.
I'd like to know how replacing all the"enter" char by <BR>

When I write :
"coucou
c
moi"
in a form's textfield
i want :
"coucou
c
moi"
write on the screen and not:"coucou c moi"....

Excuse me for all faults..I ' m french as you may have noticed...
Comments on this post
JimmyGosling agrees!

Reply With Quote
  #2  
Old June 19th, 2001, 08:37 AM
RedFox RedFox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 45 RedFox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
alors...

You just replace the <br> tag with \n

So what you want to write would look something like this:

coucou\nc\nmoi

compris?
Comments on this post
JimmyGosling agrees!

Reply With Quote
  #3  
Old June 19th, 2001, 09:06 AM
beun beun is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Nancy, France
Posts: 0 beun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
"Rebelote" as we use to say

I try to reexplain....
I've got a textarea in my form....
I write something in and put it in my Database...

My text contains some Carriage_return like for example "como esta
usted
mi amigo???
"
When I try to reload and print this text, It prints "como esta usted mi amigo???"
But I would like to see "como esta
usted
mi amigo??"

How can i do to see what i write...


Voila,J espere que c plus clair...
C U

Reply With Quote
  #4  
Old June 19th, 2001, 10:01 AM
RedFox RedFox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 45 RedFox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
ah, i see what you mean now.

unfortunately i can't help you with this, although i suspect you losing the carriage returns has something to do with the way you handele the date... sorry m8

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > <BR> Tag

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap