一个数组中如下存储,共有1000多条数据。
$devarr =
Array
(
[0] => Array
(
[etid] => 100060834
[ertype] => 1
[etjobtype] => 040705
[etarea] => 340111
[etviptype] => 8
[etjobfrom] => 0
) [1] => Array
(
[etid] => 100145308
[ertype] => 1
[etjobtype] => 020302
[etarea] => 340100
[etviptype] => 8
[etjobfrom] => 0
)
.....
)其中etid:企业ID ,ertype:简历类型,1是标准,0是非标准
etjobtype:职位类型(6位编码)
etarea:区域信息(6位编码)
etviptype:企业类型,>6付费的会员,<6是免费会员
etjobfrom:职位来源,0:自主,1:招聘会录入,2:名企收录,3:其他现在按职位类型和行业统计数据,存储下表中:职位类别 etjobtype
区域 etarea
总投递量 devcnt
标准简历 standardcnt
非标准简历 fastcnt
其中付费会员 paycnt
其中免费会员 freecnt
其中名企收录 topcnt
其中招聘会录入 jfcnt该怎么做比较方便,求高手指教
$devarr =
Array
(
[0] => Array
(
[etid] => 100060834
[ertype] => 1
[etjobtype] => 040705
[etarea] => 340111
[etviptype] => 8
[etjobfrom] => 0
) [1] => Array
(
[etid] => 100145308
[ertype] => 1
[etjobtype] => 020302
[etarea] => 340100
[etviptype] => 8
[etjobfrom] => 0
)
.....
)其中etid:企业ID ,ertype:简历类型,1是标准,0是非标准
etjobtype:职位类型(6位编码)
etarea:区域信息(6位编码)
etviptype:企业类型,>6付费的会员,<6是免费会员
etjobfrom:职位来源,0:自主,1:招聘会录入,2:名企收录,3:其他现在按职位类型和行业统计数据,存储下表中:职位类别 etjobtype
区域 etarea
总投递量 devcnt
标准简历 standardcnt
非标准简历 fastcnt
其中付费会员 paycnt
其中免费会员 freecnt
其中名企收录 topcnt
其中招聘会录入 jfcnt该怎么做比较方便,求高手指教
foreach($devarr $key=>$value)
{
}
for($i=0;$i<count($devarr);$i++){}
将$devarr[$key]['etjobtype']重新生成一个数组统计一些etjobtype出现相同的$key