Ver originalswitch($valor){ case '1': $valor_condicion = 'EUR'; break; . . . default: 'otro'}$searchFocus= "anuncios WHERE valor=$valor_condicion ";