This question has already been answered:
I am trying to learn PHP and naturally some difficulties arise. Here is the code itself:
<?php require_once('dbconfig.php'); \\ подключение базы $result = mysqli_query($connect, "SELECT * FROM `article`"); if ($result = false) echo "Ошибка соединения"; while ($row = mysqli_fetch_assoc($result)){ echo $row['id_article'] . '<br>'; echo $row['title'] . '<br>'; echo $row['content'] . '<br>'; } ?> When implementing this code, it gives an error
Warning: mysqli_fetch_assoc () expects parameter 1 to be mysqli_result, boolean given in C: \ xampp \ htdocs \ sources \ insert.php on line 7
What is the problem? Tell me.
=instead of==- surely there is one. - Qwertiy ♦