Start learning
Image 1
  • Topic: php --> Lang:en --> 1 day ago

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given

I'm getting a 'Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result' error. How do I fix it? The error occurs in the following code: <?php $result = mysqli_query($conn, "SELECT * FROM table"); while ($row = mysqli_fetch_assoc($result)) { } ?>
0 replies
5 likes
👀️
240 Views
×
×