Please explain to me the difference about "mysqli_fetch_assoc" and "mysqli_fetch_array" in easiest way to understand thankyou very much.
Asked
Active
Viewed 16 times
-4
-
Per the [documentation for mysqli_fetch_array](https://www.php.net/manual/en/mysqli-result.fetch-array.php), `By using the MYSQLI_ASSOC constant this function will behave identically to the mysqli_fetch_assoc(), while MYSQLI_NUM will behave identically to the mysqli_fetch_row() function. The final option MYSQLI_BOTH will create a single array with the attributes of both.`. The default is `MYSQLI_BOTH` – aynber May 12 '22 at 15:12
-
Please use tags only for tags and title only for title. Do not put tags in the title – Dharman May 12 '22 at 15:16