Posts by Vitor • 55 points
10 posts
-
0
votes1
answer86
viewsA: Visualg does not recognize Real type variable
It has some attributes with no value, examples, N, QA and higher, so declare the values before, just to be able to enter the "WHILE" "WHILE". Example, N = 0; greater=0, AS LONG AS N(0) IS LESS THAN…
-
1
votes1
answer555
viewsQ: Error Trying to get Property 'num_rows'
I’m trying to log in, when sending the data to my method, this error appears: Notice: Trying to get property 'num_rows' of non-object in \controller\user.class.php on line 37 Notice: Trying to get…
-
0
votes1
answer92
viewsQ: Trying to get the property 'num_rows'
I am not able to solve this error, I am more than 5 hours programming kkk, I missed something ? here is my code(THIS IN COMMENT WHERE HE SAYS THAT IS THE MISTAKE) I am doing validation to log in…
-
0
votes0
answers302
viewsQ: NOT FOUND ERROR - PHP
ERROR: Fatal error: Uncaught Error: Class 'Alunomasculino Aluno' not found in C: xampp htdocs Fullstrack PHP OO Exercicios Projeto-Escola Alunomasculino.php:7 Stack trace: #0 C: xampp htdocs…
-
0
votes0
answers60
viewsQ: Warning: mysqli_num_rows() expects Parameter 1 to be mysqli_result, bool Given in
I can’t identify what my mistake is is marked the line in the code, O ERRRO ESTAR AQUI ->[![inserir a descrição da imagem aqui][1]][1] if (mysqli_num_rows($resultado)>0) { $password =…
-
2
votes2
answers59
viewsQ: Call an arraylist from another method, to print in the different method
I want to get the information of the arraylist within a certain method, to print in another method. You’re not printing anything, my logic is right ? class Agenda //Class Agenda var $bancodedados =…
-
0
votes1
answer80
viewsQ: Error variable stmt of type Statement
I’m trying to run the table, but in netbeans it keeps alerting the error in the Executequery line. Symbol: method executeQuery(String) Location: variable stmt of type Statement The error is…
-
0
votes3
answers176
viewsA: Print result of an array in php list format
<html> $sql = mysqli_query($cx, "SELECT IPS FROM ipvalidos "); while($aux =…
-
-1
votes3
answers176
viewsA: Print result of an array in php list format
Make it fixed $sql = mysqli_query($cx, "SELECT IPS FROM ipvalidos ORDER BY IPS ASC "); while($aux = mysqli_fetch_assoc($sql)) { $arrayip[ ] = $aux["IPS"]; } $diferenca = array_diff($arrayip,…
-
1
votes1
answer79
viewsQ: Error calling add in a Hashset
Every time I try to create a objeto.add(); and put the attribute in it, it continue to give me an error. See my code: public class Agencia { private String nome; private String endr;…