</td> <td class="enpRptLabel"> Address </td> <td class="enpRptLabel"> Email/Phone </td> <td class="enpRptLabel"> Patient Visits </td> </tr>'); $idx = 1; foreach ($pInfo as $pRec) { echoT('<tr class="makeStripe">' . "\n"); showPInfo($idx, $pRec); showPVisitInfo($pRec->pVisits); echoT('</tr>' . "\n"); ++$idx; } echoT('</table><br><br>'); function showPInfo($idx, $pRec) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- // $lVolID = $volRec->lVID; $strPhone = ''; if ($pRec->strPatientPhone != '') { $strPhone .= '<br><b>phone:</b> ' . htmlspecialchars($pRec->strPatientPhone); } if ($pRec->strPatientCell != '') {
</td> <td class="enpRptLabel"> Address </td> <td class="enpRptLabel"> Email/Phone </td> <td class="enpRptLabel"> Patient Visits </td> </tr>'); $idx = 1; foreach ($volInfo as $volRec) { echoT('<tr class="makeStripe">' . "\n"); showVolInfo($idx, $volRec); showPVisitInfo($volRec->pVisits); echoT('</tr>' . "\n"); ++$idx; } echoT('</table><br><br>'); function showVolInfo($idx, $volRec) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- $lVolID = $volRec->lVID; $strPhone = ''; if ($volRec->strVolPhone != '') { $strPhone .= '<br><b>phone:</b> ' . htmlspecialchars($volRec->strVolPhone); } if ($volRec->strVolCell != '') {