|
There are two items since you have used fetch_array. Fetch array by default will always return MYSQLI_BOTH which is the same as MYSQLI_NUM | MYSQLI_ASSOC unless you have specified otherwise. Therefore you get both numerical offset and associative offset.
fetch_row is reliable. It will always be 0 corresponding to the first property in the returned resultset record.
__________________
PHP Code:
header('HTTP/1.1 420 Enhance Your Calm');
|