[PHP] When to use a text file rather then a database
Hello all, I have a text blurb that is on the home page of a site. I need to make this block of text editable through a form in the admin section of the site. Is it worth having a table in the db or would I be better off writing to a file for this? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] When to use a text file rather then a database
I have a text blurb that is on the home page of a site. I need to make this block of text editable through a form in the admin section of the site. Is it worth having a table in the db or would I be better off writing to a file for this? Just use a file. The only problem you'll have is if two people try to edit the file at the same time, but it doesn't sound like that'll be an issue. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php