Diversas

De WEB SISMEDICOS
Revisão de 19h32min de 3 de janeiro de 2018 por Vinileite (Discussão | contribs)

Ir para: navegação, pesquisa
<thead> </thead> <tbody> <?php include 'database.php'; $pdo = Database::connect(); $sql = 'SELECT * FROM customers ORDER BY id DESC'; foreach ($pdo->query($sql) as $row) { echo ''; echo ''; echo ''; echo '';echo '';echo ''; } Database::disconnect();  ?> </tbody>
Name Email Address Mobile Number Action
'. $row['name'] . ''. $row['email'] . ''. $row['mobile'] . '';
                               echo '<a class="btn btn-info" href="read.php?id='.$row['id'].'">Read</a>';
                               echo ' ';
                               echo '<a class="btn btn-success" href="update.php?id='.$row['id'].'">Update</a>';
                               echo ' ';
                               echo '<a class="btn btn-danger" href="delete.php?id='.$row['id'].'">Delete</a>';
echo '