批改状态:合格
老师批语:
PDO 操作数据库可以分为六步
连接数据库 require __DIR__ .'';
创建SQL语句 $sql= CURD;
创建对象 $stmt=$pdo->prepare($sql);
绑定数据 $stmt->bindParam();
执行语句 $stmt->execute();
销毁pdo $pdo=null;
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号