「电脑玩物」中文网最近更新

IT技术

php使用pdo mysql

07net01.com 发布于 2017-07-31

$dsn = "mysql:host=localhost;dbname=dbname"; $pdo = new PDO($dsn,"userpassword","password"); //查询 $sql = "SELECT * from tables where id > 1 limit 1"; $row = $

阅读(92)评论