Personal I have the following class for connecting to database ...
namespace App\Database;
class Conn
{
public static function getDb()
{
return new \PDO('mysql:host=localhost;dbname=dkse','root','root');
}
}
It's a very...
asked by
04.07.2017 / 00:13