How to sum numbers set in a foreach?

前端 未结 0 1082
旧时难觅i
旧时难觅i 2021-01-25 19:04

How to sum all results from foreach?

        foreach ($bets_all as $typ){
        if($typ[\'id_match\'] == $match[\'id\']) {
                if($typ[\'w_p1\'] ==          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题