Posts by Kyatsu • 13 points
4 posts
-
0
votes3
answers939
viewsQ: How do I rotate the square when I click the button? JAVASCRIPT
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
-
1
votes2
answers117
viewsQ: How do I make "while" repeat 4 times only and break to the next C command?
int numeros, calculo, soma; numeros = 0; calculo = 0; while (calculo > 0) { printf("Digite o número: "); scanf("%d", &numeros); calculo++; } soma = calculo + soma; printf("A soma entre os…
-
0
votes2
answers1745
viewsA: Help: Warning: mysqli_num_rows() expects Parameter 1 to be mysqli_result, Boolean Given in C: xampp htdocs redesocial login.php on line 7
I’ve solved the problem. As the friend there said, add the or die(mysqli_error($connect)); at the end of the line of the $check variable. However, it returned the error Unknown column 'pass' in…
-
-1
votes2
answers1745
viewsQ: Help: Warning: mysqli_num_rows() expects Parameter 1 to be mysqli_result, Boolean Given in C: xampp htdocs redesocial login.php on line 7
<?php include("db.php"); if (isset($_POST['entrar'])) { $email = $_POST['email']; $pass = $_POST['pass']; $verifica = mysqli_query($connect, "SELECT * FROM users WHERE email = '$email' AND…