mysqli get first row code example Example: php mysqli fetch single row $row = $result->fetch_assoc();