(this select is an example) Well I have one here a select that will serve to send an email with phpMailer. I want to know how I can do so that in this select only the emails registered in my database "banked" within the "teacher" table appear. Email is a teacher attribute. If you need more information just say so.
<div class="input-field col s12">
<select>
<option value="" selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
<label>email</label>
</div>