diff --git a/reference/mysqli/functions/mysqli-fetch-assoc.xml b/reference/mysqli/functions/mysqli-fetch-assoc.xml index bf21dfe450..07d38fd398 100644 --- a/reference/mysqli/functions/mysqli-fetch-assoc.xml +++ b/reference/mysqli/functions/mysqli-fetch-assoc.xml @@ -1,5 +1,5 @@ - + mysqli_fetch_assoc @@ -33,11 +33,11 @@ of one of the result set's columns. - If two or more columns in the result set have the same column name, the associative array - returned by the mysqli_fetch_assoc function will contain the value of - the last column of that name. If you must work with result sets with this properity, the - mysqli_fetch_row should be used which returns an numerically-indexed - array instead. + If two or more columns of the result have the same field names, + the last column will take precedence. To access the other + column(s) of the same name, you either need to access the + result with numeric indices by using + mysqli_fetch_row or add alias names. &database.field-case;