return mysqli_fetch_array($_tmp, MYSQLI_ASSOC); // with or without 2nd param
Returns:
NULL
I’ve tried to query on SQL database and replaced $id with number, MySQLi query did execute. I also retrieved $id variable itself. It’s an integer, as it should be, containing a number, that I used in manual input as well.
The row that trigger in MySQLi database and should. Is actually 1 row, database contains 2 rows, but it should print single row. This is the one that should get triggered, repeated for every single step, twice.
return mysqli_fetch_array($_tmp, MYSQLI_ASSOC);
Is the one.
But why did they change it? Normally it would provide you associative row.
How did I make it work before? I clearly do not remember having this
obstacle before.
It was never changed. You just have to pay more attention to the code you write and always check the manual entry for a function you have a trouble with.