?> </td> <td><?php echo $value['gender']; ?> </td> <td class="center hidden-phone"><?php echo $value['age']; ?> </td> <td class="center hidden-phone"><?php echo $value['city'] ? $value['city'] : '-'; ?> </td> <td class="center hidden-phone"><?php echo getMatchedUsers($value['id']); ?> </td> </tr> <?php } ?> <!-- <tfoot> <tr> <th>Profile Image</th> <th>Username</th> <th>Gender</th> <th class="hidden-phone">Age</th> <th class="hidden-phone">City</th> </tr> </tfoot> -->
<tbody> <?php foreach ($result as $value) { ?> <tr class="gradeX"> <td><img src="../uploads/<?php echo $value['profile_pic']; ?> " style="width: 100px;"></td> <td><?php echo $value['username']; ?> </td> <td class="center hidden-phone"><?php $matches = getMatchedUsers($value['id']); if ($matches) { foreach ($matches as $rr => $ss) { echo '<a><div style="float:left;padding:4px;">'; echo '<img src="../uploads/' . $ss['profile_pic'] . '" style="width: 100px" alt="' . $ss['username'] . '"/>'; echo "</div><a/>"; } } ?> </td> </tr> <?php } ?> <!-- <tfoot> <tr>