질문
Q #9177
$config['database'] 이것을 문자열로 찍는방법
나이유미
2010-12-30 19:57:39
$config['hostname'] = "localhost";
$config['username'] = "myusername";
$config['password'] = "mypassword";
$config['database'] = "mydatabase";
$config['dbdriver'] = "mysql";
$config['dbprefix'] = "";
$config['pconnect'] = FALSE;
$config['db_debug'] = TRUE;
$config['cache_on'] = FALSE;
$config['cachedir'] = "";
$config['char_set'] = "utf8";
$config['dbcollat'] = "utf8_general_ci";
여기서 $config['database'] = "dbname"; 와
$db['default']['database'] = "dbname"; 를 문자열로 찍거나
변수에 대입 하고 싶습니다.
매뉴얼 싹 봤고...
검색도 해보았습니다.
(구글링도 해보았음)
여러번 삽질해본 결과 잘안되서
도움을 청합니다. 부탁드립니다.