</div> <div id="content"> <p> <h2 class="welcome">Clinician List</h2> <!-- Table of patient results --> <?php $u = new UserDAO(); $u->Username = $_SESSION["username"]; $u->Find(); //TODO: need a list clinicians function $clinicianArray = $u->ListPatients(); ?> <p> <?php echo "Click a Column Heading to sort by that Field."; ?> </p> <table class="sortable" border="1"> <tr> <th>Last Name</th> <th>First Name</th> <th>Middle Name</th> <th>Address</th> <th>Phone Number</th> <th>ID Number</th>
</div> <div id="content"> <p> <h2 class="welcome">Stats: Patient List</h2> <!-- Table of patient results --> <?php //$u = new StatsDAO(); $u = new UserDAO(); //$p = new PatientDAO(); $u->Username = $_SESSION["username"]; $u->Find(); $patientArray = $u->ListPatients(); ?> <p> <?php echo "Click a Column Heading to sort by that Field."; ?> </p> <table class="sortable" border="1"> <tr> <th>Last Name, First Name</th> <th>Username</th> </tr> <?php foreach ($patientArray as $item) { ?>