PDO::FETCH_INTO object where naming convenssion is different in php and mysql code example Example: php fetch while ($row = mysqli_fetch_assoc( $result)) {}