Using PHP to populate a <select></select>?

前端 未结 7 1242
面向向阳花
面向向阳花 2021-01-11 23:50

I want to populate the above tag with values from database.

I have written php code up to t

7条回答
  •  爱一瞬间的悲伤
    2021-01-12 00:31

    
    $selected_value="selected_value";
    echo '';
    

    Some addition to Pascal MARTIN code, for auto selection of some predefined value

提交回复
热议问题