PDO数据库
$dsn = "mysql:host=localhost;dbtable=...";
$user = "";
$passwd = "";
$pdo = new PDO($dsn,$user,$passwd);
$sql = "";
1. $pdoS = $pdo->query($sql);
return pdoStatement Object
2. $pdoS = $pdo->prepare($sql);
return pdoStatement Object
$pdoS->bindParam();
$pdoS->execute($sql);
$pdoS->fetch();
$pdoS->fetchAll();