...

View Full Version : <br> QUA



0810
10-19-2002, 06:30 PM
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

Galdo
10-19-2002, 06:52 PM
Yes you can use <BR> just put it in the necessary places.

0810
10-20-2002, 10:42 PM
put where???


could you explain more about it.

Thanks

Galdo
10-21-2002, 02:35 PM
If you have something long like you said, you can put <BR>'s in where you need to, like below:



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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum