Populate select drop down from a database table

前端 未结 4 1748
迷失自我
迷失自我 2020-12-06 13:42

I have a table (\"venues\") that stores all the possible venues a volunteer can work, each volunteer is assigned to work one venue each.

I want to create a select dr

4条回答
  •  再見小時候
    2020-12-06 14:03

    
    
    
        table binding
        
    
    
    
        
    var z = document.createElement('option'); z.setAttribute('value', '".$row[0]."'); var t = document.createTextNode('".$row[0]."'); z.appendChild(t); document.getElementById('myselect').appendChild(z);"; } ?>

提交回复
热议问题