"10","powerFlag" => "1","powerCredit" => "不良好"), 1=>array("oldy"/>  "10","powerFlag" => "1","powerCredit" => "不良好"), 1=>array("oldy">

Home >Backend Development >PHP Tutorial > 关于数组循环判断有关问题

关于数组循环判断有关问题

WBOY
WBOYOriginal
2016-06-13 12:35:58855browse

关于数组循环判断问题
有5个数组(目前只列3个组,获取的数组为5以内的几个数组):
array(
0=>array("oldyear" => "10","powerFlag" => "1","powerCredit" => "不良好"),
1=>array("oldyear" => "30","powerFlag" => "0","powerCredit" => "良好"),
2=>array("oldyear" => "80","powerFlag" => "1","powerCredit" => "良好")
.....
)
/*
//oldyear年龄
//powerFlag 是否签字
//powerFlag 信用情况
//信用情况:5位权利人中任何一个没有选择信用情况为良好,那么费用自动显示为2.0
//老年人:5位权利人只要有任何一个选择了老年人或未成年人(60为老年人),自动显示失败
//到场签字:5位权利人中只要有任何一个选择了不能到场签字(能到场为1,不能到场为0),自动显示失败

求高手指点,想了很久了,谢谢,不胜感激!

php 数组
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn