Ver original$nombres=array();while($row=mysql_fetch_array($registros)){ $nombres[]=$row['nombre'];}echo $nombres."<br/>";