[eluser]cinewbie81[/eluser]
[quote author="sergitin" date="1192477719"]hi
I think first you most do
Code:
$db['default']['database'] = "mysql";
and then, to change the value of
$db['default']['database'] to your database
or
you can have two DATABASE CONNECTIVITY SETTINGS in database.php
the first is with
Code:
$active_group = "default";
and the other with
Code:
$active_group = "other";
and when you create the database, then you change the $active_group
at the other definition of connectivity[/quote]
hi, thx, but how do u change the value $db['default']['database'] to my database from a function??