Posts by Bruno Maciel • 134 points
7 posts
-
10
votes2
answers28661
viewsA: Is there an API to send a message via Whatsapp using PHP?
Good exite yes an api of Whatsapp official link: https://developers.facebook.com/docs/whatsapp/overview The Whatsapp Business API client is compatible with a subset of features provided by the…
-
-2
votes1
answer287
viewsA: Return array within json
<?php //cria o array associativo $idades = array("Jason"=>38, "Ada"=>35, "Delphino"=>26); //converte o conteúdo do array associativo para uma string JSON $json_str =…
-
-1
votes1
answer3013
viewsA: Apache works but php does not work
Just install the apache PHP module. Run this command on the terminal. sudo apt-get install libapache2-mod-php7
-
1
votes4
answers67
viewsA: Create a role or use the code directly?
It is optional for you to leave the code directly or in a function, but I advise you whenever you can use a function, I’ll give you an example. Think about the situation where you have a function…
javascriptanswered Bruno Maciel 134 -
1
votes5
answers18134
viewsA: Using jQuery, how to select elements with two CSS classes
$(".box2.destaque").html('Class 1'); $(".box1.destaque").html('Class 2'); .box1{ color: red; } .box2{ color:…
-
0
votes1
answer62
viewsA: Doubts about installing php7.0 in Debian 8
First you must know which packages you will use, Do not install unnecessary packages. But if you want, you can type: "apt-get install php" and press the tab key twice the terminal itself will list…
-
0
votes2
answers98
viewsA: Select data from three SQL tables
You can do the consultation like this. SELECT cod_nota, cupom, valor_contrato, valor_cadastro, data_emissao FROM cupons_nota join vendas on id_tabela1=id_tabela2 join notas_fiscais on id_tabela2 =…