Problem Statement
Which MySQLi function fetches a single row from the result set as an associative array?
Explanation
mysqli_fetch_assoc fetches one row from the result set and returns it as an associative array where column names are used as keys.
Code Solution
SolutionRead Only
$row = mysqli_fetch_assoc($result);
