1

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  ),
4

1 回答 1

4
73      'database' => 'blogtest' ,
                                 ^ this comma is missing.
于 2012-11-28T20:04:30.943 回答