1.取出字段放入数组
$i=0;
while($rs->EOF){
  arr[$i] = $rs->fields[0];
  $i++;
}
2.从数组中读出取值
foreach($arr as $name){
  echo $name
}