格式化输出数据表中的数据

Original 2019-05-24 18:09:11 185
abstract:
prepare($sql); //执行 $stmt->execute([':status'=>1]); $rows = []; while($row = $stmt->fetch(PDO::FETCH_ASSOC)){ $rows[] = $row; } $stmt = null; $pdo = null; //var_dump($rows); ?>  
用户信息表
id 名字 性别 年龄 邮箱 注册时间


Correcting teacher:查无此人Correction time:2019-05-25 09:18:53
Teacher's summary:完成的不错。pdo操作速度比之前的mysqli快很多。继续加油

Release Notes

Popular Entries