Posts by Ronaldo Freitas • 56 points
11 posts
-
0
votes0
answers1048
viewsQ: Firebase - An unknown error occurred while creating the project. Try again
I tried to create a project in Firebase and I can’t, I’ve tried several different ways (changing the name of the project, changing the country, trying with another Google account... etc.) and still…
-
0
votes2
answers234
viewsA: Error generating build in Ionic release mode
From what I understand of the error, it seems to me a problem with the Node "... withou a catch block, or by rejecting a Promise which was not Handler with . catch() ..." Try installing an earlier…
ionic3answered Ronaldo Freitas 56 -
0
votes2
answers88
viewsA: Join 2 arrays
I hope this helps: $pessoas = array( 0 =>"NOME", 1 => "ERICA GRELLERT", 2 => "IARA BEATRIZ", 3 => "DANIELLE", 4 => "MARIANA", 5 => "ALESSANDRA", 6 => "EDUARDO", 7 => "DIEGO",…
-
2
votes2
answers60
viewsA: mysql_num_row with Inner Join
would be something like this? SELECT COUNT(le.id) AS total_leads FROM leads AS le INNER JOIN lojas AS lo ON le.id_loja = lo.id GROUP BY lo.id ORDER BY lo.id DESC
-
0
votes3
answers202
viewsA: (Angularfire2 + Ionic3) Recover value from a Child for a variable
try like this: this.db.object('clientes/'+this.id) .valueChanges() .subscribe(statususer => { var statusCliente = statususer.status; });
-
1
votes2
answers91
viewsA: How to remove all options from an interactive list and add new ones using Javascript?
Try something like that, maybe it’ll help you: var myDiv = document.getElementById("myDiv"); var array = ["pao1","pao2","pao3","pao4"]; var selectList = document.createElement("select");…
javascriptanswered Ronaldo Freitas 56 -
0
votes3
answers2216
viewsA: SQL - Bring only 1 year records back
But what’s wrong with bringing in duplicate customers? The same customer can’t buy more than once in a day, for example? In any case, try using BETWEEN (more performative) and GROUP BY (to group by…
-
0
votes2
answers217
viewsA: In AJAX only "Fail" is executed, how to solve this problem?
Try to see and treat the error returned from fail, something like: ... }).fail(function (e) { console.error(e); alert ("Erro ao autorizar documentação"); });
-
0
votes2
answers262
viewsA: Extract exploded results from a column
Try something like that: $conn = new mysqli($servername, $username, $password, $dbname); $conn->set_charset('utf8'); $sql = "SELECT arrachar FROM centrodb.marcacaoInfancia"; $result =…
-
-1
votes2
answers1391
viewsA: confirmation of registration via e-mail
Forget the mail function, use Phpmailer Phpmailer following example require 'PHPMailer/PHPMailerAutoload.php'; $mail = new PHPMailer(); $mail->isSMTP(); $mail->SMTPDebug =2;// 0,1 ou 2…
-
0
votes2
answers4804
viewsA: Ping manipulation in Python
I did it this way, taking through a list of IPS and making an infinite loop to check each one: # -*- coding: utf-8 -*- import subprocess import os import time ips =…
pythonanswered Ronaldo Freitas 56