Fix comment error around UTF-8 and PDO

This commit is contained in:
Don MacAskill
2015-01-05 11:09:42 -08:00
parent 0c4976f71d
commit 4d01642a89

View File

@@ -86,7 +86,7 @@ $string = mb_substr($string, 0, 15);
// Connect to a database to store the transformed string
// See the PDO example in this document for more information
// Note the `set names utf8mb4` commmand!
// Note the `charset=utf8mb4` in the Data Source Name (DSN)
$link = new PDO(
'mysql:host=your-hostname;dbname=your-db;charset=utf8mb4',
'your-username',