note 93944 rejected from pdo.construct by philip

From: Date: Wed, 07 Oct 2009 21:01:04 +0000
Subject: note 93944 rejected from pdo.construct by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161491@lists.php.net to get a copy of this message
Note Submitter: winner5 at interia dot pl ---- How to connect to a database, which name contains a semicolon (;) char? Is it necessary to use an array as dsn? This doesn't work: <? $pdo = new PDO('mysql:host=localhost;dbname=t\\;', 'user', 'pass'); ?>

« previous php.notes (#161491) next »