How can I implement this while loop into this:
I have the following code:
print_description_row("Select a member you want to reset referrals for:");
I need to make a while loop so the code looks sort of like the following in order for you to see what im trying to do. Is it possible?
while ($row = $DB_site->fetch_array($test)) {
print_description_row("Select a member you want to reset referrals for:
<select name=\"member\">
<option value=\"$row[username]\">$row[username]</option>
</select>");
}
🙁 it just keeps repeating the whole line and not just the array of usernames is the select field...