1 - You add the Name data to $list, then echo $list. You never reset $list to an empty string, so the next time you echo it, it still contains the Name data.
2 - Your first while loop loops through the result array; the pointer is then at the end of the data array. Since you don't reset the data pointer the second while loop finds nothing to add (it starts at the end of the data).
3 - The line "$list = $row['Name'];" resets $list to the latest value of name, so at the end of the loop $list will contain only the last Name found.
Try this:
$list = '';
while ($row = mysql_fetch_array($rs)) {
$list .= $row['Name'];
$list .= '</br>';
}
echo($list);
// Reset to empty string:
$list = '';
// Reset data pointer:
mysql_data_seek($rs, 0);
while ($row = mysql_fetch_array($rs)) {
$list .= '</br>';
$list .= $row['entered_service'];
$list .= '</br>';
}
echo($list);