Questions tagged as 'busca'

1
answer

How to represent an array in Prolog?

I'm doing a work in Prolog that basically consists of a search problem, there is a scenario in a two-dimensional environment and one must trace the path that a character must follow to reach the other. There are some obstacles and rules but my q...
asked by 23.10.2018 / 02:06
1
answer

Deep Search with Prolog - how to limit depth?

I'm implementing an in-depth search on graphs in Prolog, I already have the following: %arestas: edge(c4,b4). edge(b4,b3). edge(b3,a3). edge(b3,c3). %determina que o grafo é nao direcionado edge(V1, V2) :- edge(V2, V1). %busca em profundida...
asked by 25.10.2018 / 21:02
0
answers

Problem with array_search

I have array below that is giving a problem. When I give a search he only seeks some values he is not finding the 2018-06-11, 2018-06-18 and the 2018-06-26 The rest works perfectly $hoje = "2018-06-11"; $diario = array( "0.25...
asked by 03.07.2018 / 15:46
1
answer

Search with explode and friendly url (problem)

I have a problem. I was using a search engine with variable multipules without a friendly url. And it worked normally. I placed several keywords and searched the database without any problem through EXPLODE. Except now, I've placed a friendly...
asked by 04.04.2018 / 19:10
1
answer

Error (Uncaught ReferenceError: google is not defined) in the "Run" in the MAPS API for Autocomplete

An error is occurring in the " google.maps.event.addDomListener (window, 'load', initialize) ;" and I can not resolve: '( function initialize() { var mapOptions = { center: {lat: -33.8688, lng: 151.2195}, zoom: 13, scrollw...
asked by 13.01.2018 / 21:49
1
answer

Prioritize keywords found in title in sql search

Hello, I have a 'videos' table with 3 fields 'name', 'description' and 'categories'. When doing a search I want to appear at the top videos that in the 'name' have more of these keywords, for example if I search "beautiful house" a video with na...
asked by 09.12.2017 / 16:43
1
answer

conditional search in PHP using codeigniter

I have this table in my database Ineedtoselectallproductsbelongingtoabrand,butiftheproductcodeisthesameyoushouldnotrepeattheproduct,youmustusethesameproduct.Example,whenselectingToyotaIintendtohavethefollowingresult: Mycontrollerselectsallpr...
asked by 19.10.2017 / 14:19
0
answers

How to do a search in a set passing the character as a parameter in JavaScript?

I have two distinct functions, one does one search for one id (works) another does one search for a letter character (it works). I need these two functions to work together, like? When I select the id, which return the set belonging to that i...
asked by 27.10.2017 / 15:35
1
answer

Searching in the listview does not show the corresponding item

In the listview when I search for an item it shows the right match name, but when I click to play it plays another item instead of the searched item. MainActivity public class MainActivity extends AppCompatActivity { ListView lv;...
asked by 16.09.2017 / 04:06
1
answer

Search in two tables with codeigniter

I have the following situation:    WhenIselectamarcaintabelacompatibility,IwanttoListallproductsintheProducttable,whosecodeisequaltotheselectedbrandcode.Example:WhenselectingToyotayoushouldlistCabin,andselectingMazdashouldonlyreturnCabinI've...
asked by 29.09.2017 / 22:13