$html = '

Sewer Lateral Inspection Report

NS Sewer Piping Inc.
P.O Box 1291 Vallejo, Ca 94590
ns.trenchless@gmail.com
No: 707-290-4547
Nssewer.com
CSL# 1100248
Report N:
' . esc_html($report_n) . '

Inspection Address
' . esc_html($address) . '
Date
' . esc_html($date1) . '
Property Type
' . esc_html($prop_type) . '
The sewer lateral was access from:
' . nl2br(esc_html($access_from)) . '
The sewer line appears to be made of:
'; $pipe_options = ['Clay/VCP','Asbestos','ABS','Cast Iron','PVC','HDPE','Other']; foreach ($pipe_options as $opt) { $is_checked = in_array($opt, $pipe_mat); if ($is_checked) { $box = ''; } else { $box = ' '; } $html .= ''; } $html .= '
' . $box . ' ' . $opt . '
The condition of the sewer line is:
'; $cond_options = ['Excellent','Good','Fair','Very Poor']; foreach ($cond_options as $opt) { $is_checked = ($condition === $opt); if ($is_checked) { $circle = ''; } else { $circle = ' '; } $html .= ''; } $html .= '
' . $circle . ' ' . $opt . '
Pipe Information
' . nl2br(esc_html($pipe_info)) . '
Lateral Findings
' . nl2br(esc_html($findings)) . '
Recommendations
' . nl2br(esc_html($recommend)) . '
Technician
' . esc_html($technician) . '
Date
' . esc_html($date2) . '
';