diff --git a/reference/mysqli/functions/mysqli-fetch-array.xml b/reference/mysqli/functions/mysqli-fetch-array.xml index 9d7d896570..ef43004c9d 100644 --- a/reference/mysqli/functions/mysqli-fetch-array.xml +++ b/reference/mysqli/functions/mysqli-fetch-array.xml @@ -1,5 +1,5 @@ - + mysqli_fetch_array @@ -50,7 +50,7 @@ $result = mysqli_query("SELECT id, name FROM mytable"); - while ($row = mysqli_fetch_array($result, MYSQL_NUM)) { + while ($row = mysqli_fetch_array($result, MYSQLI_NUM)) { printf ("ID: %s Name: %s", $row[0], $row[1]); } @@ -60,7 +60,7 @@ - mysqli_fetch_array with MYSQL_ASSOC + mysqli_fetch_array with MYSQLI_ASSOC - mysqli_fetch_array with MYSQL_BOTH + mysqli_fetch_array with MYSQLI_BOTH