摘要: 1.连接数据库 <?php //$host-地址,$name-数据库名称 ,$user-用户名 ,$pwd-密码 try{ $pdo=new PDO("mysql:host=".$host.";port=3306;dbname=".$name."",$user,$pwd); $pdo->setAtt 阅读全文
posted @ 2020-12-14 16:12 会飞的-余 阅读(187) 评论(0) 推荐(0) 编辑