有毒的情况

来源:互联网 发布:henry 小提琴 知乎 编辑:程序博客网 时间:2024/06/10 09:14

mysqli_query查询

1-1

——-查询成功,有返回值——-
1-2
object(mysqli_result)#6 (5) { [“current_field”]=> int(0) [“field_count”]=> int(1) [“lengths”]=> NULL [“num_rows”]=> int(1) [“type”]=> int(0) } object(mysqli_result)#4 (5) { [“current_field”]=> int(0) [“field_count”]=> int(1) [“lengths”]=> NULL [“num_rows”]=> int(1) [“type”]=> int(0) } object(mysqli_result)#5 (5) { [“current_field”]=> int(0) [“field_count”]=> int(1) [“lengths”]=> NULL [“num_rows”]=> int(1) [“type”]=> int(0) }

2-1

2-2
———后两条查询失败———
object(mysqli_result)#4 (5) { [“current_field”]=> int(0) [“field_count”]=> int(1) [“lengths”]=> NULL [“num_rows”]=> int(1) [“type”]=> int(0) } bool(false) bool(false)

0 0