Link to home
Start Free TrialLog in
Avatar of David Schure
David Schure

asked on

Query Returns Correct Value But Doesn't Display

This query returns the correct records but DATE is not displaying.

Open in new window


<form>
   <table id="myTable" class="topics" style="width:100%">
    <colgroup>
          <col style="width: 25%;">
      <col style="width: 25%;">
        <col style="width: 25%;">
        <col style="width: 25%;">
   </colgroup>
    <thead>
        <tr>
            <th>DATE</th>
            <th>TYPE</th>
            <th>THERAPIST</th>
            <th>STATUS</th>
        </tr>
    </thead>
    <tbody id="results">
    <?php while ($row = $result->fetch(PDO::FETCH_OBJ)): ?>
        <tr>
            <td><?= $row->DATE; ?></td>
         <td><?= $row->TYPE; ?></td>
         <td><?= $row->THERAPIST; ?></td>
            <td><?= $row->STATUS; ?></td>
        </tr>
    <?php endwhile; ?>
    </tbody>
</table>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Cyril Joudieh
Cyril Joudieh
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Schure
David Schure

ASKER

ODD. It shows up in the view source but not on the page!
User generated image
Can you send a link?  That sounds like some sort of CSS issue where the table or container is being hidden.  Possible JS/jQuery issue hiding the containing div?
All the open elements ex <form> have a closing one </form>?