Hide a colomn when fetch the all data in PHP : everyone, I want to list all users data from the database in PHP. there will be a user is logged-in at a single time. I want un-fetch or hide a single column who has active(logged-in).  so, I'm asking you how can I do this...

    $query=$conn->pdo->exec("SELECT * FROM usertable");   
    $row=$query->fetch();

        <thead>
                <tr>
                  <th>User Name</th>
                  <th>Name</th>
                  <th>Email</th>
                  <th>Role</th>
                  <th>Post</th>
                  <th>Action</th>
                </tr>
                </thead>
                <tbody>
                <?php while($row=$query->fetch()){ ?>
                  <tr>
                  <td><?php echo $row['username']; ?>
                     </td>
                  <td><?php echo ucfirst($row['name']); ?>
                  </td>
                  <td><?php echo $row['username']; ?></td>
                  <td><?php echo ucfirst($row['user_type']); ?></td>
                  <td><?php echo $row['id']; ?></td>
                  <td>
