If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Newbie Q : mySQL vs text file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-04, 08:33
buriedUnderGrou buriedUnderGrou is offline
Registered User
 
Join Date: Jul 2004
Posts: 3
Question Newbie Q : mySQL vs text file

I need to know which would be the best way to store approx. 500 words of text for a large php/mySQL site.

There are approximately 2000 users with all regular data (tel, email, address, etc) in a mySQL database. The site needs to be totally converted to dynamic pages (ie: template system) and I would appreciate some advise/info on the matter of how to store the text (which is at present in html pages all over the place).

I don't know wether to use text files or to store the data in a database. If I chose a database solution I will need to know what data-type to use for the text (varchar/text/blob???).

Any help / suggestions wil be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old 07-28-04, 19:05
yellowmarker yellowmarker is offline
Registered User
 
Join Date: Jul 2004
Location: Dundee, Scotland
Posts: 107
I'd use the MySQL TEXT field type. The maximum length is 65,535 characters.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On