Skip to content

Commit 8498abc

Browse files
committed
Added travis graphic
1 parent a5d16f4 commit 8498abc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ Here a few things to keep in mind:
1818
### Initialization
1919

2020
```PHP
21-
$pdo = new PDO('mysql:host=127.0.0.1;dbname=test', 'root', '');
21+
$pdo = new PDO('mysql:host=127.0.0.1;dbname=test;charset=utf8', 'root', '');
2222
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
23-
$pdo->exec('SET NAMES "utf8"');
2423

2524
$mysql = new MySQL($pdo);
2625
$mysql->getAliasRegistry()->add('textprefix', 'testdb.test__');

0 commit comments

Comments
 (0)