View Single Post
Old 08-24-2004, 02:28 PM   #1 (permalink)
FaderMonkey
Psycho
 
FaderMonkey's Avatar
 
Location: Orlando, FL
formatting data from a database

So, I've created a website where users can comment on entries, their comments are stored in MySQL and then displayed under each entry. I'm not sure if I'm asking this correctly, but how do you format their entry on the site? What I mean, for example, is if someone types this in the form:

Quote:
I loved that movie.

Did you see this movie?
It is stored in the database like this:

Quote:
I loved that movie.

Did you see this movie?
...but when it is read from the database and put on the site it looks like this:

Quote:
I loved that movie. Did you see this movie?
Is there a way to display it with the different line on the site like it was typed?
FaderMonkey is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73