<?php // sections/sectionB.php
$data = $report['sectionB'];
?>
<div class="section">
    <h2>Section B. Reason for Producing this Report</h2>
    <p><?= nl2br(htmlspecialchars($data['report_reason'])) ?></p>
    <p><strong>Date(s) on which inspection and testing was carried out:</strong>
        <?= htmlspecialchars($data['inspection_dates']) ?>
    </p>
</div>