RE: Help with Updating database from PHP? 07-27-2016, 08:54 PM
#7
Yes I have the usernames being pulled straight from the database. In the form above.
Code:
<form method='post' action='user_rank_change.php'>
<!-- Gamertag Select -->
<h3 for='select_gamertag' >Select GamerTag</h3>
<select class="form-control" id='select_gamertag' type='text' name='select_gamertag'>
<?
while($row = mysqli_fetch_array($result6))
{
echo "<option>" . $row['user_name'] . "</option>";
}
?>
</select>
“I am thankful for all of those who said NO to me. It’s because of them I’m doing it myself.” – Albert Einstein


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)