Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: <br> QUA

  1. #1
    Banned
    Join Date
    Aug 2002
    Posts
    111
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <br> QUA

    I have one QUA about my sql.

    create table Hideo(comment text);

    When I write comment in my database, how can I <br> my comment.

    because I don't want to write my comments vartically.

    Should I do like this

    insert into Hideo(comment)values('Hi how are you doing. I am fine and you? My name is-------. I am from-----. Nice to meet you');

    my comment is long, so I would like to use <br>

    how can I use <br> with mysql commend

    Thanks

  • #2
    New Coder
    Join Date
    Aug 2002
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes you can use <BR> just put it in the necessary places.

  • #3
    Banned
    Join Date
    Aug 2002
    Posts
    111
    Thanks
    0
    Thanked 0 Times in 0 Posts
    put where???


    could you explain more about it.

    Thanks

  • #4
    New Coder
    Join Date
    Aug 2002
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you have something long like you said, you can put <BR>'s in where you need to, like below:

    Code:
    insert into Hideo(comment)values('Hi how are you doing. I am fine and you?<BR><BR>My name is-------. I am from-----.<BR><BR>Nice to meet you');
    Then when you come to display the above field it will be formatted in the way you want like:

    Hi how are you doing. I am fine and you?

    My name is-------. I am from-----.

    Nice to meet you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •