Advertisement
Guest User

html code

a guest
Sep 18th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.99 KB | None | 0 0
  1.                         <div class="row">
  2.                             <div class="col-12">
  3.                                 <div class="card">
  4.                                     <div class="card-body">
  5.                                         <h4 class="header-title">List of Sage One Contacts</h4>
  6.                                         <p class="text-muted font-14 mb-4">
  7.                                             Here are all of your Sage One contacts listed below. You will find their stored ID's and names displayed in the table.
  8.                                         </p>
  9.                                         <table id="datatable-buttons" class="table table-striped dt-responsive nowrap" width="100%">
  10.                                            <?php echo "<table>"; // start a table tag in the HTML ?>
  11.                                           <?php while($row = $ret->fetchArray(SQLITE3_ASSOC))
  12.                                           {   //Creates a loop to loop through results
  13.                                              echo "<tr><td>" . $row['ID'] . "</td><td>" . $row['FNAME'] . "</td><td>" . $row['LNAME'] . "</td></tr>";
  14.                                           }?>
  15.                                           <?php echo "</table>"; //Close the table in HTML ?>
  16.                                             <thead>
  17.                                                 <tr>
  18.                                                     <th>ID</th>
  19.                                                     <th>First Name</th>
  20.                                                     <th>Last Name</th>
  21.                                                 </tr>
  22.                                             </thead>
  23.                                             <tbody>
  24.                                                 <tr>
  25.                                                     <td>1</td>
  26.                                                     <td>Ya Boi</td>
  27.                                                     <td>Ya Boi</td>
  28.                                                 </tr>
  29.                                                 <tr>
  30.                                                     <td>2</td>
  31.                                                     <td>Bill Billington</td>
  32.                                                     <td>Ya Boi</td>
  33.                                                 </tr>
  34.                                                 <tr>
  35.                                                     <td>3</td>
  36.                                                     <td><?php echo $row['ID']; ?></td>
  37.                                                     <td>Ya Boi</td>
  38.                                                 </tr>
  39.                                             </tbody>
  40.                                         </table>
  41.                                     </div> <!-- end card body-->
  42.                                 </div> <!-- end card -->
  43.                             </div><!-- end col-->
  44.                         </div><!-- end row-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement