Posts by Hugo Senna • 59 points
5 posts
-
4
votes1
answer97
viewsQ: group by semester/year PHP
Hello, I have a table with date field, I want to group by semester/year, I did so. SELECT SUM(quantidade) quantidade, YEAR(DATA) ano FROM tbmanipulacao GROUP BY YEAR(DATA), MONTH(DATA) <=6,…
-
-1
votes1
answer226
viewsQ: sum in two tables in a single query
Have two queries, one in each table. select SUM(quantidade) as total1 FROM tbmateria GROUP by codigomateria select SUM(quantidade) as total2 FROM tbmateriaestoque GROUP by codigomateria need to do…
-
-1
votes2
answers77
viewsQ: how to pass data in json format to a select?
Hello, I get two JSON, one from other models brands. { "data": { "JEEP": 40, "LAND ROVER": 46, "LAMBORGHINI": 42, "LIFAN": 43, "IVECO": 94, "ASIA MOTORS": 5, "AM GEN": 1, "ENVEMO": 23, "WAKE": 77,…
-
0
votes2
answers298
viewsA: Problem creating a dynamic add and remove field
You have to add an additional input field next to the select field. But at the time of removing gave a problem, by clicking on the added input was deleted due to this code snippet $("#_espc" +…
-
1
votes1
answer453
viewsQ: Sort events in descending order in Wordpress
On the table wp_posts, the data is like this : and when I enter an event, other than this table above, goes data to wp_postmeta, and stay like this: in the file that displays the events is like…
wordpressasked Hugo Senna 59