Answer the question
In order to leave comments, you need to log in
How to fix the error (php, MySQL)?
What is this error and how to fix it, please explain. The screenshot shows the error itself and the code.
Answer the question
In order to leave comments, you need to log in
Something like this
$data = $result->fetch_assoc(); // ОДИН РАЗ
echo 'Title' . $data['title'];
echo 'Year' . $data['year'];
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question