Re: add backslashes to "user contributed note" ?

From: Date: Sun, 13 Oct 2019 22:52:11 +0000
Subject: Re: add backslashes to "user contributed note" ?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969387366@lists.php.net to get a copy of this message
On Mon, 14 Oct 2019 at 00:34, Hans Henrik Bergan <divinity76@gmail.com> wrote: > in https://www.php.net/manual/en/ref.pdo-mysql.connection.php > there is a > note from "divinity76 at gmail dot com" , > can someone add backslashes to the code? like > > <?php > > $db = new \PDO('mysql:host=localhost;dbname=testdb;charset=utf8mb4', > 'username', 'password', array( > \PDO::ATTR_EMULATE_PREPARES => false, > \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION > )); > >

« previous php.doc (#969387366) next »