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

PHP

Avatar of undefined
Last Comment
Cyril Joudieh

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Cyril Joudieh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
David Schure

ASKER
ODD. It shows up in the view source but not on the page!

Robert Granlund

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?
Cyril Joudieh

All the open elements ex <form> have a closing one </form>?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes