Php抱怨说
PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING,
expecting ')' in /home/edler2/www/blog/application/config/database.php on line 74
这似乎是完全错误的,现在我被卡住了。
../ config / database.php看起来像这样。
70 'mysql' => array(
71 'driver' => 'mysql',
72 'host' => 'localhost',
73 'database' => 'blogtest'
74 'username' => 'root',
75 'password' => 'xxxxx',
76 'charset' => 'utf8',
77 'prefix' => '',
78 ),
答案 0 :(得分:4)
73 'database' => 'blogtest' ,
^ this comma is missing.