I have the following file called config.php. These are configuration options for a client management system. I need these settings to be editable via the system admin panel. How would I go about storing these values in a database? Would it make sense to have a table called "config" with only one row?
<?php // System Settings $system_status = 0; // 0 for active, 1 for locked $system_status_msg = 'The system is currently inactive. One Aministrators can log in.'; // Modifiable message for when the system as been disabled $admin_email = 'firstname.lastname@example.org'; // Set administrator email for PHP Mail Function $site_url = 'http://localhost'; // Set root location of system $client_max_upload = 2*1024*1024; // Maximum upload file size for clients $staff_max_upload = 100*1024*1024; // Maximum upload file size for staff $contract_max_upload = 5*1024*1024; $invoice_max_upload = 5*1024*1024; // Form Validation Settings $pw_min = 5; ?>