From eec6e11d8bc87c1120012806d090fecd0e0206b9 Mon Sep 17 00:00:00 2001 From: Yannick Lyn Fatt Date: Mon, 10 Mar 2014 23:57:56 -0500 Subject: [PATCH] bump first argument down a line so the example is PSR-2 --- _posts/05-05-01-PHP-and-UTF8.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_posts/05-05-01-PHP-and-UTF8.md b/_posts/05-05-01-PHP-and-UTF8.md index 9948b4c..0d2b3df 100644 --- a/_posts/05-05-01-PHP-and-UTF8.md +++ b/_posts/05-05-01-PHP-and-UTF8.md @@ -56,7 +56,8 @@ $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! -$link = new \PDO( 'mysql:host=your-hostname;dbname=your-db;charset=utf8mb4', +$link = new \PDO( + 'mysql:host=your-hostname;dbname=your-db;charset=utf8mb4', 'your-username', 'your-password', array(