PHP foreach loop to populate dropdown list with values from an array of arrays

前端 未结 4 1858
予麋鹿
予麋鹿 2020-12-14 13:04

I have an array of an arrays created using the following code. I\'m trying to get this to loop through and populate a dropdown list.

$names         


        
4条回答
  •  长情又很酷
    2020-12-14 13:50

    Easiet way to use php array in dropdown html form or anywhere to show php foreach values in as dropdown values

    
    

提交回复
热议问题