There is a configuration file config.php. Settings are stored in an associative array. It is necessary that you can overwrite the key values in the array from the admin panel. That is, that they are overwritten in the file. I already wrote the form and handler. The data is all coming. I can display on the screen, but I don’t write to the file. Through fwrite () stupidly erases everything and writes one line.
Here is the config.php:
$config = array( 'description' => 'Введите описание!', 'keywords' => 'ключевые слова', 'blog_name' => 'Название сайта', 'template' => 'briton', 'db' => array( 'host' => 'localhost', 'user' => 'root', 'password' => '', 'basename' => 'armor' ) );
var_exportworth reading - teran