mardi 1 octobre 2019

num_rows() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\testsite\search.php on line 42.Please help debug [duplicate]

I keep on getting the error above when I run this code, please help debug


0 && $search !="") { while($row=mysqli_fetch_assoc($searchbox)) { $id=$row['id']; $email=$row['email']; $password=$row['password']; $name=$row['name']; echo "$name
$email
"; } } else{ echo"no result found"; } }else{ echo "Please type any word...."; }
    ?>
</body>
</html>



Aucun commentaire:

Enregistrer un commentaire