Re: [PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Wez Furlong
On 4/27/06, Kevin Waterson <[EMAIL PROTECTED]> wrote: This one time, at band camp, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > The manual doesn't tell you that you can use spaces, so simply don't do it. but in this example we have a space and it works mysql: host = localhost; dbname=test The ma

Re: [PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Kevin Waterson
This one time, at band camp, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > The manual doesn't tell you that you can use spaces, so simply don't do it. but in this example we have a space and it works mysql: host = localhost; dbname=test Kevin -- "Democracy is two wolves and a lamb voting on what

Re: [PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Wez Furlong
The manual doesn't tell you that you can use spaces, so simply don't do it. --Wez. On 4/27/06, Kevin Waterson <[EMAIL PROTECTED]> wrote: > Not a bug, but inconsistant behavior in PDO when calling > $dsn = new PDO("sqlite: dbname.sdb"); > > The space after the colon _should_ be encoded but if not

[PHP-DEV] Inconsistancy in PDO dsn

2006-04-27 Thread Kevin Waterson
Not a bug, but inconsistant behavior in PDO when calling $dsn = new PDO("sqlite: dbname.sdb"); The space after the colon _should_ be encoded but if not it fails and needs correctly to read $dsn = new PDO("sqlite:dbname.sdb"); Pierre pointed to a user note in the manual http://www.php.net/manua