$recordId, 'rand' => $randId, 'cid' => $clientId, 'stid' => $stid, 'ptoken' => $ptoken, 'print' => '1', ]); $reportUrl = '/dashboard/crop-analysis/soil-test-data/soil-report-pdf.php?' . http_build_query([ 'rid' => $recordId, 'rand' => $randId, 'ptoken' => $ptoken, ]); function h(string $v): string { return htmlspecialchars($v, ENT_QUOTES, 'UTF-8'); } ?>