PDO封装mysql
<?php
class DAOPDO
{
protected static $_instance = null;
protected $dbName = '';
protected $dsn;
protected $dbh;
//构造
private function __construct($dbHost, $dbUser, $dbPasswd, $dbName, $dbCharset)
{
try {
.
原创
2021-09-16 16:29:44 ·
139 阅读 ·
0 评论