Uncaught PDOException reveals username and password

前端 未结 4 1993
情深已故
情深已故 2020-12-06 22:53
try {
    self::$dbinstance = new PDO(
        \"mysql:host=$c[host];dbname=$c[dbname]\", $c[\'user\'], $c[\'password\']
    );

    self::$dbinstance->setAttribu         


        
4条回答
提交回复
热议问题