Assuming you may not always have 16 user post values, and that you want this to be dynamic and beautiful... consider the following tips:
a) Use an array in your form for the player value. Example:
<input type="text" name="players[]">
<input type="text" name="players[]">
<input type="text" name="players[]">
This way you will have an array full of player values and won't have to guess or worry about one at a time.
b) Once submitted, you can do:
// Simply make sure it's an array, and that some players exist
if (is_array($_POST['players']) && count($_POST['players']) > 0) {
// A simply loop example
foreach ($_POST['players'] as $player) {
print "Player #$player";
}
c) Use one MySQL query using the IN statement to select all the users and their information. The following queries are identical:
$sql = "SELECT foo FROM bar WHERE id = 1 OR id = 2 OR id = 3";
$sql = "SELECT foo FROM bar WHERE id IN (1,2,3)";
So you could dynamically create this with your new players array:
$query_Selector = "SELECT UNID, Name, Email, Telephone
FROM HockeyMembers
WHERE UNID IN (" . explode(",", $_POST['players']) . ")";