Questions tagged as 'select'

1
answer

Pull fixed data from .json to select on form

I do not know what is wrong that is not pulling the json data, my goal is to pull the city / neighborhood data to display through another javascript code, however I can not make the select display the cities and neighborhoods that are in the jso...
asked by 22.03.2017 / 15:30
2
answers

SQL with 2 of several conditions

I'm having trouble making a Select that meets the 2 or 3 conditions of several selected, for example: Conditions: - Cidade Tal (São Paulo) - Nome Tal (João) - Sexo (Masculino) - Fumante (Não) - Carro Próprio (Sim) I want everyone to meet wi...
asked by 20.02.2017 / 22:42
1
answer

Pass a lambda statement per parameter - C # - Entity

I have a method in which I need to pass only one select per parameter: public List<TEntity> GetAll(Expression<Func<TEntity, TEntity>> Select) { var query = Context.Set<TEntity>() .Where()...
asked by 07.11.2016 / 23:52
1
answer

Table with 2 td with select inputs displaying return only on the first line

I have 1 table with 1 list of modules, and I have 2 columns that have some options that can be chosen through select.   The issue is that the select's only loads the data in the first row of the table, the next comes out blank, I think that's t...
asked by 06.09.2017 / 06:03
1
answer

Check if any line of the Select result in Mysql contains a value

I would like to know how to check the where clause if any of the line has a certain number. For example: If a select returns 1 2 3 4 and in the request clause 4 it returns the values, if it returns 1 2 3 and in request clause 4 it retu...
asked by 16.04.2015 / 23:49
2
answers

Search mysql database with php with multi-level

I am trying to perform the following query in the database, through an html form, but in php I am only able to fetch all the data from my table. In case the user would choose the type of filter and would be made a query in the database, I am usi...
asked by 18.05.2015 / 17:48
2
answers

List in each position the employees who had the most change of charge

Good evening guys. I have a problem that I have been trying to solve for some time and I came to ask you here. It is as follows: I have three important entities for this solution: For ease, I'll just put the "minimum" fields. Official...
asked by 27.11.2014 / 23:56
1
answer

SELECT display difference between browsers

I have the following code HTML that marks a SELECT : <select name="filtro"> <option value="">Mais visualizados</option> <option value="">Menos visualizados</option> <option value="">Mais R...
asked by 13.08.2014 / 22:01
1
answer

Deselect items when moving between listboxes

In my application I have two listboxes, one with "available players" and one with "scaled players", as well as two buttons to move the items between them, > and > . My problem is this. As soon as I select an item in one of the listbox,...
asked by 21.10.2014 / 15:14
1
answer

How to do a JPA query with @ManyToMany mappings

Good morning. I am having difficulty performing a query in the database where my Employee entity has 2 mappings @ManyToMany and 1 mapping @ManyToOne. When you perform a query, Employee and Projects data is returned without any major problems....
asked by 22.12.2018 / 14:03