Posts by Sidclay Ataíde • 145 points
11 posts
-
0
votes2
answers82
viewsA: Store a variable to use outside of Function
For you to use a variable value of a function outside of it, you need to return a value using: function MyFunction(){ var Endereco = true; return Endereco; //essa variavel estará disponivel fora…
javascriptanswered Sidclay Ataíde 145 -
2
votes1
answer2309
viewsA: Laravel - The requested URL was not found on this server
i solved this problem by removing this line from . httaccess: RewriteRule ^(.*)/$ /$1 [L,R=301]
-
0
votes4
answers450
viewsA: Laravel "delete does not exist."
can not you remove pq vc ta passing only the id but does not specify in which model it will do this operation. change this: public function destroy(Test $id) { $id->delete();// como pego o…
laravelanswered Sidclay Ataíde 145 -
0
votes3
answers214
viewsA: How to create a PHP progress bar using the Laravel Framework?
The Laravel itself does not do this but I think you looking for Chart JS you think the q wants. I hope to have helped. Chart JS…
-
0
votes1
answer226
viewsA: Duplicate content and switch None display to block
I don’t quite understand but I think this code helps as a starting point. I hope to help. <script> $(document).ready(function() { $('#previa-unidades').click(function(){…
-
0
votes1
answer330
viewsA: Consolidate all columns into one MYSQL row
I’ve seen you want something like this: where I wear one alias of the bank as d, tested in mysql `select d.TICKET AS TICKET,group_concat(d.PARACER separator ', ') AS PARECER from banco d group by…
-
0
votes4
answers1386
viewsA: Take <span> value with PHP
believe q with jquery you can get the q needs. var valor = $('.nomeClass').text(); alert(valor);// VALOR lember-if q usually uses the same class for several elements on the same html page. prefer to…
phpanswered Sidclay Ataíde 145 -
0
votes3
answers208
viewsA: String Jquery or JS
You can do it like this: defines two variables, var o_q_eh = 'O que é:' and var o_q_significa = 'O que Significa ';. waiting q vc use the html tag label to create the question text...…
-
3
votes1
answer51
viewsA: Table consultation with CONCAT and JOIN?
I was able to solve using 'GROUP_CONCAT' as in the query below: $teste = DB::table('clientes as c') ->leftjoin('reservas as r', 'r.codReserva', '=', 'b.ce_denunciacrime') ->leftjoin('produtos…
-
2
votes1
answer51
viewsQ: Table consultation with CONCAT and JOIN?
I need to get a collection as a result of consultation on 3 tables using concat and join, the image below shows the relationship between them: I tried using the code below $teste =…
-
2
votes1
answer316
viewsQ: string to object in javascript
I am receiving an object as a parameter, for example: "4,5", from a function, but I need to exchange the comma for a point. Qnd I do this, the object is changed to string, so I need to return this…