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