Hi, I am just learning new programming languages and creating a website, not for a company just for my learning but i am stuck in a silly thing. I am using PHP and MySQL. And in HTML i am using TEXTAREA to write huge text. Basically if I write something like this:
This is first line,
This is second line.
When I store the above in MySQL database using TEXT datatype, and try to read it, it comes like this:
This is first line.This is second line.
They don't seem to come in separate lines.
Can you please tell me where the problem is.
Thankyou.
Oh, by the way this is the website i have created, still under construction:
http://www.sentosajaipur.com
2006-07-04
08:05:44
·
9 answers
·
asked by
Manish
5
in
Computers & Internet
➔ Programming & Design
But how can a user on my website will put
, in yahoo answer if i press enter, it comes in a new line, so don't know how to do that.
2006-07-04
08:09:48 ·
update #1
as per what FlpcNerds.com is saying, i know
is for breaking the line, but i know this and people who don't know computers, how can they put
code when writing something in different lines.
2006-07-04
08:13:11 ·
update #2