Posts by Alisson Custodio • 25 points
5 posts
-
0
votes4
answers11110
viewsA: How to group SQL results by month and year?
The simplest way is to concatenate the month and year: CONCAT( MONTH(data_criacao), '/', YEAR(data_criacao) ) AS data this will produce something like: 10/2021…
-
0
votes1
answer47
viewsA: Send array with internal array via CURL PHP
I solved the bug using http_build_query() in CURl, in this way: curl_setopt( $ch, CURLOPT_POSTFIELDS, http_build_query($content) );
-
-1
votes1
answer47
viewsQ: Send array with internal array via CURL PHP
The following Array is sent to a API through a POST using CURL: $content = array( 'name' => $_POST['name'], // Recebe String de um <form> 'price' => $price, 'stock' =>$stock, 'link'…
-
1
votes2
answers171
viewsQ: Write JSON to Javascript object
I have an API in php that returns data like this: {"status":"sucesso","dados":[{"id":"1","nome":"Nome do Usuario","etc..":"etc.."},{"id":"2","nome":"Nome do Usuario","etc..":"etc.."}]} I need to…
-
1
votes1
answer69
viewsQ: How to remove the border in Bootstrap when an object is clicked?
The question is self esplicativa, I have a button in specific that I would not like it to have this effect that the bootstrap puts by auto when it is clicked, already tried to change in css, but…