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

前端 未结 7 1132
面向向阳花
面向向阳花 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:15

    I editied the last entry to this and it works perfectly. The only hassle I have now is once the user has submitted the form the dropdown goes blank... Does anyone know a simple solution

    echo '";
    

提交回复
热议问题