Page 1 of 1

PHP vs mysql

Posted: Wed Oct 02, 2002 1:27 pm
by Coco
i have a large text block that i need to save for future use, but it will get changed frequently (maybe as often as once an hour)

would it be better to save this using fopen() or by having a blob field in a database?
bearing in mind that each user will have one of these fields

Posted: Wed Oct 02, 2002 2:18 pm
by llimllib
IMHO, mysql would be better. Faster, takes up less space, no need to consume system resources opening files. Really, I can't think of any advantages to saving it to a file unless, for example, you have an overloaded db server.

Posted: Wed Oct 02, 2002 2:26 pm
by Takuma
Just write a script that enables you to read data from the db and update it. Just a simple script that'S what I do with my website.