摘要:
$dsn = 'mysql:host=127.0.0.1;dbname=myblog'; $username = 'root'; $pwd = '111'; $pdo = new PDO($dsn,$username,$pwd); //$sql = 'select * from cates where id=:id'; //:id 进行参数绑定,提高数据库安全性 //$sql = 'upda... 阅读全文
posted @ 2018-10-26 07:23
254980080
阅读(235)
评论(0)
推荐(0)

浙公网安备 33010602011771号