Questions tagged as 'busca'

0
answers

SearchView does not return search results in a listView

Good afternoon! I am trying to implement the search option within a list of songs that I have inside the app, I did some searches on the internet but I still could not get the search to return results in the list, with the code below, when enter...
asked by 07.07.2018 / 19:39
0
answers

SearchView MenuItem on Android

I'm trying to implement the search function inside a ListView in my app, but I'm missing some connection with the adapter that I can not figure out. With the code below, when typing in the search item no item is found, there is probably somethin...
asked by 11.06.2018 / 14:10
2
answers

Checking if value exists in an array via search field

In pure javascript I can use indexOf() , something like this: var chaves = ['wmv','3gp','mp4','mp3','avi']; if(chaves.indexOf("avi") != -1) { alert("Ok!"); } But when it comes to a search field I'm trying this way: <html...
asked by 26.12.2016 / 20:29
3
answers

Filter data with INNER JOIN - MYSQL

Good afternoon, I'm new to the group and wanted to know where I'm going wrong ... I have a search on the database as well ** SELECT * FROM Users INNER JOIN naturezanegocio ON Users.emaillogin = naturezanegocio.emaillogin AND Users.paisor...
asked by 07.06.2018 / 18:13
1
answer

How to make a table in a scaffold rails with the attributes of another scaffold

Personal I'm having a hard time! I created a scaffold called book and one called Loans then I created a report call in the report I want to search for books for books. I'm using gem ransack to do searches within the same scaffold, but as in t...
asked by 07.06.2018 / 18:37
0
answers

Combobox selects State and city search in MySQL

I need to solve this part, my intention is to select the state in the combobox the query below recognize the selected acronym and query in MySQL. function BuscaDAO(connection){ this._connection = connection; } BuscaDAO.prototype.getBusca...
asked by 27.05.2018 / 03:32
0
answers

Show when there is no search result in the database

In the SQL query, if no return result is to appear a "No results found" message. OK, when you search, find a result and when it does not have it shows the message - so far so good. The problem is that at the time of opening the document, the tex...
asked by 20.05.2018 / 20:18
0
answers

Get search results with cURL

I'm working on a custom search engine, example I want to gather information from a particular Google search and display, I started using the cURL below: $curl = curl_init(); $search_string = "fome no mundo"; $url = "http://www.google.com.b...
asked by 08.05.2018 / 01:43
1
answer

Divide search term to expand results and sort results according to the term

Let's say I have a table named carros . In this table I have some cars registered. Ex: ID | Name 1 | Corsa Amarelo 2 | Camaro 2 Portas Amarelo 3 | Camaro V12 Amarelo 4 | Camaro Esportivo Amarelo 5 | Fusca Amarelo 6 | Camaro Ama...
asked by 28.04.2018 / 22:31
1
answer

Doubt regarding the minimax algorithm

The minimax, by definition, is great if the two players perform optimally, right? However, can we say something when one of them plays great and the other does not? In the case of the old game, as the state space is small, the player that acts w...
asked by 19.04.2018 / 00:42