Subject: How to use long text in data base?
Posted By: tiolele Post Date: 11/26/2003 12:17:59 PM
I want to do like a news paper. Use long articles to save in a data base. I tried to use txt files. There is other ways to do it? How can i do it?

Thx


Reply By: planoie Reply Date: 11/26/2003 12:51:08 PM
Put your articles in a database.

Peter
------------------------------------------------------
Work smarter, not harder.
Reply By: Imar Reply Date: 11/26/2003 1:36:54 PM
Ha, I always thought that news papers put long articles on paper..... ;-)

Anyway, yes, a database makes sense. It's the best option if you want to serve multiple users at the same time. Text files don't scale out pretty well, are difficult to maintain, difficult to search through and order, etc.

Basically, you should collect important info (title, summary, body text, publication date, etc.) from an HTML form and then send it to the database. You can use databases like Access, SQL Server, MySQL, etc.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply By: saleaf10 Reply Date: 11/26/2003 8:15:41 PM
d


Go to topic 6893

Return to index page 997
Return to index page 996
Return to index page 995
Return to index page 994
Return to index page 993
Return to index page 992
Return to index page 991
Return to index page 990
Return to index page 989
Return to index page 988