este es el error
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/ on line 10
y este es el codigo
Código PHP:
Ver original
<?php $user = $_POST['nom']; $pass = $_POST['pas1']; $conexion = mysqli_connect("mysql.hostinger.com.ar","u550168560_mateo","mateof00","u550168560_login") or die("Error al conectar"); //$sql = "SELECT `id` FROM `user` WHERE `username`=='$user' AND `password`=='$pass'"; $result = mysqli_query($conexion, "SELECT `id` FROM `wisher` WHERE `username` = '".$user."' AND `password` = '".$pass."'"); { echo "Logueado"; } else { echo "Error al Loguear"; } ?>