Say if you just had the values in a file then when someone wanted to see all the values, you have to parse your config.inc.php file for all the values to display them. Also when someone made a change then you would have to find the value and replace with the new one.
Just thought it would be easier to just do a select on the database to display the values and then if you make a change then just make a change in the database and overwrite the old file. -----Original Message----- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: April 26, 2002 4:24 PM To: SP Cc: [EMAIL PROTECTED] Subject: RE: [PHP] web application development question On Fri, 26 Apr 2002, SP wrote: > How about storing it in a database like you said with variable and value but > when you change a value then you write over your config.inc.php file with a > new one. So you get to change the value easily in a database and by using a > file you make your app faster without any database access everytime. What would be the point of using the database then? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php