November 24th, 2012, 04:50 AM
Large Data Storage Issue
I am making the website where I have to store a large amount of data like plenty of books using PHP MYSQL. Could any body tell me that what the best way to save books in a database so then what data type we have to use OR should be save in txt file format ?
November 24th, 2012, 11:33 AM
If the books are plaintext or html or some other text-dominant format it would make sense to store the contents of the books in the database. If they are a multi-media type of format like pdf or any of the ebook formats then it makes more sense to store the book file in the normal filesystem and just have a reference to it stored in the database.