Answer the question
In order to leave comments, you need to log in
Do you guys need help with outputting data from MySQL, PHP?
Here is the code, and the error itself google searches have not yet led to an answer (
Need help
Answer the question
In order to leave comments, you need to log in
mysql_query() returns a resource on success, or FALSE on error.
It says that mysqli_result is expected, but boolean was passed, an error occurred along the way and false is stored in $ Query
php.net/manual/ru/mysqli.error.php
Yes, it is not visible, but in 90% of cases this is an error in the request.
To identify the cause of the non-working code, after executing the request, it is enough to write:
mysqli_error ( mysqli $link );
Detailed information:
php.net/manual/ru/mysqli.error.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question