I'm using an online form to submit to a table I will use to hold news. The news will then be displayed on a front page of a website. Its a simple table, ID, SUBJECT, CONTENT, SUBMITBY fields and that's pretty much it. The form where a user enters the news has a TEXTAREA where they submit the content. Its all going into a SQL7 DB.
here's my dilemma, how can I display the CONTENT field on the screen once its queried to look like it was entered in the TEXT AREA like paragraphs, carriage returns, etc? Right now the text all comes on screen in one huge paragraph. I may actually put some pretty large pieces of news, even articles in this DB to be displayed on this screen so if I can get it to display in the format it was entered I think I would be in good shape.
Any suggestions? Something I have to change in the TEXTAREA line? The DATATYPE on the DB, or how its splashed on the SCREEN on the template that queries then displays?
Thanks!
PS: SQL server guys, what DATATYPE do you recommend for a field that would hold content like what I am mentioning above? Right now I just set it to VARCHAR and 4000.