Görüntü:
Kodlar :
Kodlar :
PHP:
<!doctype html>
<html lang="tr">
<head>
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css">
<script type="text/javascript" src="js/jquery-1.12.3.min.js"></script>
<meta charset="utf-8">
<title>Sayfalama Bootstrap | JQeury</title>
</head>
<?php
$db = new PDO("mysql:host=localhost;dbname=404roman;charset=utf8","root","");
$rows = $db->query("SELECT * FROM users",PDO::FETCH_ASSOC);
?>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<h3><small>Kişisel Bilgiler</small></h3>
<table class="table table-bordered table-hover">
<thead>
<th>ID</th>
<th>Kullanıcı Adı</th>
<th>Şifre</th>
</thead>
<tbody>
<?php foreach ($rows as $row) { ?>
<tr>
<td><?php echo $row["id"]; ?></td>
<td><?php echo $row["Username"]; ?></td>
<td><?php echo $row["Password"]; ?></td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>




