摘要:
header("Content-type: text/html; charset=utf-8"); $pdo = new PDO('mysql:host=localhost;dbname=ceshi', "root", ""); $pdo->exec("set names utf8"); //为下面 阅读全文
posted @ 2018-07-19 21:38
sun1987
阅读(80)
评论(0)
推荐(0)
摘要:
<?php header("Content-type: text/html; charset=utf-8"); //PDO操作mysql /*$pdo =new PDO("mysql:host=localhost;dbname=ceshi","root",""); $pdo->exec("set n 阅读全文
posted @ 2018-07-19 21:37
sun1987
阅读(170)
评论(0)
推荐(0)

浙公网安备 33010602011771号