Posts by J Junior Carneiro • 101 points
8 posts
-
-1
votes1
answer55
viewsQ: Change JSON Response in php
Hello friends I need to change the answer in json but I’m not getting it. follows: $ch = curl_init('http://sams-api.arar.local/send'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch,…
-
2
votes1
answer410
viewsQ: connect in 2 banks with PDO
Hello, I connect in a bank , how would I connect with another, which has the same login and password within the same server ? follows my function: function conectaBanco() {…
-
0
votes0
answers44
viewsQ: Login with CPF and CNPJ
My code below is working. However, note that I own the field CL_Cpf and I need to add another that is CL_Cnpj. Therefore, I need both to work in the same field input and log in to the system. How…
phpasked J Junior Carneiro 101 -
0
votes1
answer250
viewsQ: Reload in javascript
follows the script below: <?php // registrando e incializando arquivos de estilos add_action('init', '__register_script'); function __register_script() { wp_register_script( 'js_jquery',…
javascriptasked J Junior Carneiro 101 -
0
votes0
answers60
viewsQ: Edit data from an array
I have this array below: <?php //Rio de Janeiro $planoResidencialRjo = array( array("nome" => "25MB Residencial", "cidade" => "Rio de Janeiro", "download" => "25MB", "upload" =>…
phpasked J Junior Carneiro 101 -
1
votes0
answers45
viewsQ: Duplicated id s in sql query
friends have an appointment like this: SELECT v.product_id,nome AS Produto,presentation AS Descricao, presentation AS Descricao2, name1 AS categoria, description_two AS descricao, price AS preco,…
sqlasked J Junior Carneiro 101 -
0
votes1
answer98
viewsQ: Query PIVOT or SUM
My consultation is as follows:: mysql> select product_id, presentation, price from Variant where product_id = "1604"; +------------+-------------------------+-------+ | product_id | presentation…
-
6
votes2
answers3622
viewsQ: Column 'XXX' in field list is ambiguous
I am having trouble executing the following Query: SELECT product_id, presentation FROM Variant INNER JOIN productCategory ON product_id = product_id LIMIT 10; Error: ERROR 1052 (23000): Column…
mysqlasked J Junior Carneiro 101