This question has already been answered:
It produces the following error:
Warning: mysqli_fetch_assoc () expects parameter 1 to be mysqli_result, given in C: \ OpenServer \ domains \ test.ru \ index.php on line 14
This question has already been answered:
It produces the following error:
Warning: mysqli_fetch_assoc () expects parameter 1 to be mysqli_result, given in C: \ OpenServer \ domains \ test.ru \ index.php on line 14
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
1. Maybe you did not connect to the database, you wrote if ($ connection == falce) [should be false] 2. check if there is such a table, because the query can return a fall, also do isset ($ connection), and isset ( $ result)
The problem is most likely in the quotes area. The query string is framed in double quotes, which is why articles_categories may attempt to execute as a console (shell) command. It is best to frame the query in single quotes. Plus, there is still not enough error output for some reason, the request was not executed and false returned in $ result
Source: https://ru.stackoverflow.com/questions/691968/
All Articles
falCeespecially in this code. They would show all errors, warnings and notifications, and there would be no problem - teran