Thread: <BR> Tag

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Nancy, France
    Posts
    0
    Rep 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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    45
    Rep Power
    14
    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
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Nancy, France
    Posts
    0
    Rep 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
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    45
    Rep Power
    14
    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

IMN logo majestic logo threadwatch logo seochat tools logo