php - Mamp: Error with DB Charset in line 31 -
php - Mamp: Error with DB Charset in line 31 -
i have real problem setting wordpress. have no thought of coding , html, figure out issue lies in line 31.
mamp showed me error:
[10-apr-2015 21:14:38 europe/berlin] php parse error: syntax error, unexpected 'db_charset' (t_string) in /applications/mamp/htdocs/wordpress/wp-config.php on line 31
i googled mistake, nobody had problem line 31. know has utf8, , in configuration file written this, can't find mistake. has answer?
thank much help.
/** mysql database username */ define('db_user', ‘root’); /** mysql database password */ define('db_password', ‘root’); /** mysql hostname */ define('db_host', 'localhost’); /** database charset utilize in creating database tables. */ define('db_charset', ‘utf8’);
i know, it's syntax error, other post syntax errors couldn't help me. can give me reply specific case.
at end of 'localhost’ have wrong quote mark
remove , paste same have @ origin of localhost
php mysql wordpress syntax-error mamp
Comments
Post a Comment