P
P
Pavel Teplyansky2015-11-17 20:13:31
PHP
Pavel Teplyansky, 2015-11-17 20:13:31

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.2a3eabe5fdd34d1ba5f44a643579420c.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2015-11-17
@Shinyonok

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 question

Ask a Question

731 491 924 answers to any question