Y
Y
Yuri Elmanov2016-01-29 12:56:05
PHP
Yuri Elmanov, 2016-01-29 12:56:05

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 help9e0446d489ff4d7b8826d1877318e894.PNG

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dimabdc, 2016-01-29
@Elmanovyurik

Table not specified in query

FROM table?

L
LittleFatNinja, 2016-01-29
@LittleFatNinja

mysql_query() returns a resource on success, or FALSE on error.

Looks like you have an error in your request.

I
IceJOKER, 2016-01-29
@IceJOKER

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

K
Kravalg, 2016-01-29
@Kravalg

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 question

Ask a Question

731 491 924 answers to any question