PHP Classes

GetDsn returning options not DSN

Recommend this page to a friend!

      DbUtils  >  All threads  >  GetDsn returning options not DSN  >  (Un) Subscribe thread alerts  
Subject:GetDsn returning options not DSN
Summary:GetDsn returning options not DSN
Messages:2
Author:Anil
Date:2016-10-14 07:35:54
 

  1. GetDsn returning options not DSN   Reply   Report abuse  
Picture of Anil Anil - 2016-10-14 07:35:54
GetDsn returning options as per your source code, I thinks it's wrong, if so can you replace with DSN string
public function getDsn()
{
//return $this->options;
return $this->dsn;
}

  2. Re: GetDsn returning options not DSN   Reply   Report abuse  
Picture of Kakhaber Kashmadze Kakhaber Kashmadze - 2016-11-20 14:52:04 - In reply to message 1 from Anil
Thank you!
I Fixed this error