I have a website containing an html form, in this form I have a drop-down list with a list of agents that works in the company, I want to get data from the MySQL database into this drop-down list, so when you add a new agent, the name will appear as an option in the drop-down list.
Can you help me in coding this PHP code please thanks
<select name="agent" id="agent"> </select>
source share