Kod
SET NAMES 'latin2'
Mam problem z polskimi znakami i myślę, ze to powinno rozwiązać sprawę. Niestety gdy daję powyższe polecenie pojawia się błąd :Kod
Parse error: syntax error, unexpected T_STRING in......
Struktura połączenia z bazą jest następująca: Kod
define( 'DB_USER', 'xxxx_xxxx' );
define( 'DB_NAME', 'xxx_xxx' );
define( 'DB_HOST', 'localhost' );
define( 'DB_PASS', 'xxxxxx' );
define( 'DB_TYPE', 'mysql' );
define( 'DB_PREFIX', 'xxx' );
define( 'DB_NAME', 'xxx_xxx' );
define( 'DB_HOST', 'localhost' );
define( 'DB_PASS', 'xxxxxx' );
define( 'DB_TYPE', 'mysql' );
define( 'DB_PREFIX', 'xxx' );
Jak poprawnie wpisać tą formułę, tak, aby nie wywalało błędu?