Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="row">
- <div class="col-12">
- <div class="card">
- <div class="card-body">
- <h4 class="header-title">List of Sage One Contacts</h4>
- <p class="text-muted font-14 mb-4">
- Here are all of your Sage One contacts listed below. You will find their stored ID's and names displayed in the table.
- </p>
- <table id="datatable-buttons" class="table table-striped dt-responsive nowrap" width="100%">
- <?php echo "<table>"; // start a table tag in the HTML ?>
- <?php while($row = $ret->fetchArray(SQLITE3_ASSOC))
- { //Creates a loop to loop through results
- echo "<tr><td>" . $row['ID'] . "</td><td>" . $row['FNAME'] . "</td><td>" . $row['LNAME'] . "</td></tr>";
- }?>
- <?php echo "</table>"; //Close the table in HTML ?>
- <thead>
- <tr>
- <th>ID</th>
- <th>First Name</th>
- <th>Last Name</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>Ya Boi</td>
- <td>Ya Boi</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Bill Billington</td>
- <td>Ya Boi</td>
- </tr>
- <tr>
- <td>3</td>
- <td><?php echo $row['ID']; ?></td>
- <td>Ya Boi</td>
- </tr>
- </tbody>
- </table>
- </div> <!-- end card body-->
- </div> <!-- end card -->
- </div><!-- end col-->
- </div><!-- end row-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement