Creating an array without keys in a loop

后端 未结 4 469
小鲜肉
小鲜肉 2020-12-17 10:04

This might be a brain fart, since it\'s a late day, but I\'m stuck here.

I need to take a $_POST value from a select box. (It\'s an array), and convert it to a simpl

4条回答
  •  臣服心动
    2020-12-17 10:38

    you can't have an array without keys.

    Array(19,18,21)
    

    this array has keys 0,1 and 2.

提交回复
热议问题