pdo 预处理

/* 通过调用驱动程序创建一个PDO实例 */ // 获取请求体,@的作用为屏蔽警告,可去除。 $post = @file_get_contents('php://input'); // 解析成数组 $post = json_decode( $post, true ); $name=$post[0]
posted @ 2022-06-24 15:33  王越666  阅读(31)  评论(0编辑  收藏  举报