
                    <div class="main-page">
                        <div class="container-fluid">
                            <div class="row page-title-div">
                                <div class="col-sm-6">
                                    <h2 class="title">User Information</h2>

                                </div>
                                <!-- /.col-sm-6 -->
                            </div>
                            <!-- /.row -->

                        </div>
                        <!-- /.container-fluid -->

                        <section class="section">
                            <div class="container-fluid">
                                <div class="row">
                                 <?php 
                                   include_once('connection.php');

                                   ?>
                                   <table class="table" align="center" border="1px">
                                    <thead style="background-color: #ccc;">
                                        <tr>
                                          
                                          <th>id</th>
                                          <th>Username</th>
                                          <th>Fullname</th>
                                          <th>E-mail</th>
                                          <th>Phone number</th>
                                          <th colspan="2">Action</th>
                                          
                                        </tr>
                                        
                                    </thead>
                                    <?php
                                       $x=1;
                                      while($rows = mysqli_fetch_assoc($result))
                                      {
                                        $user_id = $rows['email'];
                                    ?>
                                    <tbody>
                                        <tr>
                                          <td><?php echo $x; ?></td>
                                          <td><?php echo $rows['username']; ?></td>
                                          <td><?php echo $rows['full_name']; ?></td>
                                          <td><?php echo $rows['email']; ?></td>
                                          <td><?php echo $rows['phone_num']; ?></td>
                                          <td><a href="edit1.php?q=<?php echo $user_id; ?>" class="btn btn-success">Edit</a></td>
                                          <td><a href="#" class="btn btn-warning">Edit</a></td>
                                        </tr>
                                        
                                    </tbody>
                                        
                                    <?php
                                    $x++;
                                     ?>
                                     <?php

                                      }
                                    ?>
                                  </table>
                                   

                                </div>
                                <!-- /.row -->
                            </div>
                            <!-- /.container-fluid -->
                        </section>
                        <!-- /.section -->

                    </div>