I was wondering that we have this function in PHP:
mysqli_fetch_row($result);
and this returns a simple array, but using it as an array like
mysqli_fetch_row($result)[0];
to get the first element of the array doesn't work, so you have to create a new variable which will contain the returned array.
Could anyone explain why isn't this working?