php how to create array key in order to sum the outcome

后端 未结 0 919
夕颜
夕颜 2020-12-08 15:26

I have a result from $totalitems and I want to sum the outcome of that. The result is always 0 most likely because the array key is [0]

When i do

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