How to create nested list from PHP array for dropdown select field?

后端 未结 2 1349
温柔的废话
温柔的废话 2021-01-27 16:45

My problem is very similar to the one described here in this topic Create nested list from PHP array for dropdown select field The problem is that if investments are not consecu

2条回答
  •  渐次进展
    2021-01-27 17:05

    I just solved your problem here on SO in another question

    just replace ++$r with $r+1

    the "dash" now works great.

提交回复
热议问题