Welcome Guest, Not a member yet? Register   Sign In
How to get a database value to the config file?
#2

[eluser]@li[/eluser]
http://ellislab.com/codeigniter/user-gui...onfig.html
Quote:Setting a Config Item
If you would like to dynamically set a config item or change an existing one, you can so using:

Code:
$this->config->set_item('item_name', 'item_value');
Where item_name is the $config array index you want to change, and item_value is its value.


Messages In This Thread
How to get a database value to the config file? - by El Forum - 10-12-2008, 02:26 AM
How to get a database value to the config file? - by El Forum - 10-12-2008, 02:53 AM
How to get a database value to the config file? - by El Forum - 10-12-2008, 03:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB