摘要: $dsn = "mysql:host=localhost;dbtable=...";$user = "";$passwd = "";$pdo = new PDO($dsn,$user,$passwd);$sql = "";1. $pdoS = $pdo->query($sql);return pdoStatement Object2. $pdoS = $pdo->prepare($sql);return pdoStatement Object $pdoS->bindParam(); $pdoS-& 阅读全文
posted @ 2014-01-07 20:52 cq351266168 阅读(132) 评论(0) 推荐(0) 编辑