I know there have been asked lots of similair questions like this one, but I just can\'t translate it to my problem so thats why I ask again. The code used to work fine but
That is because mysqli_result
is a result set. I don't know what you would expect to gain from echo
ing it, just as you wouldn't get anything meaningful from echo
ing the result set of a mysql_query
query which uses a SELECT
.
You need to use the various class methods to access data in the result set.
http://php.net/manual/en/class.mysqli-result.php