Posts by Tácio Brito • 186 points
13 posts
-
0
votes1
answer136
viewsA: CASH DATE
Use the library https://github.com/PHPOffice/PhpSpreadsheet, she has a resource for this type of case, I myself needed to solve this problem: First you need to import the Date class from this…
-
1
votes2
answers42
viewsA: Foreign SQL key
This requires the use of JOIN SQL, which serves to query data in more than one table at the same time. In your case it would look like this: SELECT equipe.codigoEquipe, funcionarios.nomeFuncionario…
-
0
votes2
answers32
viewsA: Problem with call in Database
in the following line: $operacao_inserir = mysqli_query($conexao,$inserir); add the mysqli_error to know what’s wrong so: $operacao_inserir = mysqli_query($conexao,$inserir) or die(mysqli_error());…
-
0
votes2
answers68
viewsA: Apply effect only on target element
add a id for each element (in the case how to make a listing, make dynamic): <div class="col s12 m8 offset-m2 l6 offset-l3" style="width: 50%; float: right; margin-top: -136px;"> <div…
-
0
votes1
answer44
viewsA: Help with Linq Method using group by Dinâmico
I tried several ways, but I could only solve using if ternary, because the condition I need is to access the properties during the group by of a select, which consisted of performing at the object…
-
-1
votes2
answers11465
viewsA: Insert Image via CSS or HTML?
Actually the way you put your question is wrong, the right way would be: In HTML <img src="exemplo.jpg" /> Above is how to insert an image into the HTML page through tag img In the CSS body {…
-
1
votes1
answer44
viewsQ: Help with Linq Method using group by Dinâmico
I need to mount a dynamic graph from a filter panel and two fields select that can be crossed. I already have the structure that goes to the graph and how I need to return from backend. In the case…
-
3
votes3
answers680
viewsQ: Help with Sqlquery in context Entity Framework
I need to make a return from my database in a specific way, but I have a problem, the situation is as follows: I have this query already tested directly on SQL Server, and is working perfectly:…
-
0
votes1
answer30
viewsA: Help with logic UPDATE using queries
You can assign the result of query looking for casualties in the last 30 days to a variable. So, you can use the function mysqli_num_rows, making a condition, that if you have more than 0 (zero)…
-
0
votes1
answer382
viewsA: Handling date and time in PHP
Just that in your file registro_de_actividades.php, to which you send the form data, you create a variable that receives a date function, taking the current date and time. Follow example: // aqui…
-
0
votes3
answers165
viewsA: Does not display user names in Jquery Alert
This is because you are putting the whole element into Alert. You need to use the this to access the contents of the element that was clicked. Try modifying your code to:…
-
2
votes1
answer31
viewsA: Modal search_person returns nothing when changes Javascript page
When you change the DOM as you described it, the javascript "fails to recognize" his class .add in the "modified" elements, since he understands that it is a new element created. You need to…
javascriptanswered Tácio Brito 186 -
5
votes2
answers1771
viewsQ: Logic for grouping data in javascript array
I’m having trouble grouping some data using the Javascript. I have the following array of objects that return from database and shipping to the view: var object = [ { data: 1, categories: "Branca",…