<div class="msg_body"> <ul class="contact-details"> <li><label>Phone: </label>' . $row['contact_phone'] . '</li> <li><label>Email: </label>' . $row['contact_email'] . '</li> <li><label>Social Security Number: </label>' . $row['contact_ssn'] . '</li> <li><label>Date of Birth: </label>' . $row['contact_dob'] . '</li> <li><label>Employee Identification Number: </label>' . $row['contact_ein'] . '</li> </ul> </div> </div> </div> '; $contact = new Contact(); $note = new Notes(); // show note form $note->create(); // show notes for this contact //$contact->contactnotes(); $contact->contactnotes($row['contact_id']); echo '<br /><br />'; $contact->cp_byid($id); echo ' </td> <td valign="top"> <div class="content-box" style="margin-left:9px;width:300px"> <b><u>Files for ' . $contact->getbyname($id) . ':</u></b><br /><br /> '; // show files for this contact //$contact->contactfiles(); $contact->contactfiles($row['contact_id']); echo '