Синтаксическая ошибка, помогите!

tyorka

Новичок
Здравствуйте. Сейчас настраиваю кусабу икс и столкнулся со следующим:
Parse error: syntax error, unexpected T_STRING in /home/y/yochan.ru/WWW/config.php on line 66


line 66 это $cf['KU_DBPASSWORD']

кусок php:

PHP:
// Database
		$cf['KU_DBTYPE']          = 'mysql';	// Database type. Valid values are mysql and mysqli (reccomended for mysql). 
							// PostgreSQL is also supported. Supported values are postgres64, postgres7 and postgres8. Only postgres8 is tested.
							// SQLite is also supported. Set to sqlite to use. SQLite will not use any database software, only a single file.
		$cf['KU_DBHOST']          = localhost; // Database hostname. On SQLite this has no effect.
		$cf['KU_DBDATABASE']      = что-то там; // Database... database. On SQLite this will be the path to your database file. Secure this file.
		$cf['KU_DBUSERNAME']      = что-то там; // Database username. On SQLite this has no effect.
		$cf['KU_DBPASSWORD']      = что-то там; // Database password. On SQLite this has no effect.
		$cf['KU_DBPREFIX']        = ''; // Database table prefix
		$cf['KU_DBUSEPERSISTENT'] = false; // Use persistent connection to database

Ну и что это?
 

baev

‹°°¬•
Команда форума
З

$cf['KU_DBHOST'] = localhost; // Database hostname. On SQLite this has no effect.
$cf['KU_DBDATABASE'] = что-то там; // Database... database. On SQLite this will be the path to your database file. Secure this file.
$cf['KU_DBUSERNAME'] = что-то там; // Database username. On SQLite this has no effect.
$cf['KU_DBPASSWORD'] = что-то там; // Database password. On SQLite this has no effect.
$cf['KU_DBPREFIX'] = ''; // Database table prefix
$cf['KU_DBUSEPERSISTENT'] = false; // Use persistent connection to database[/PHP]


Ну и что это?
— это — полная херня.
Показывайте реальный код.
Чтобы не возникало вопросов типа: «почему "что-то там" и "localhost" не взяты в кавычки?»
 

korpus

злой бобёр
где-то до 66 строки одинарная кавычка не закрыта
 
Сверху