$sql="select * from registros where (indicador='$id') order by año";
$sql = "SELECT * FROM registros WHERE indicador='".$id."' ORDER BY año";