I am trying to make an select field for data according to my database. So, basically, I want it to have a dropdown menu for all the users in my database. So like instead of doing:
<select>
<option>1st User in Db</option>
<option>2nd User in Db</option>
</select>
It just automatically shows all.
I tried fetching a $row['uname'], and setting it as $user, but then it only shows MY user in the dropdown.
Example: http://prntscr.com/dwksy
It only shows my account, admin, instead of all the other ones. Anyone know how to do this? Thanks!