Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/bilgibankasi.php
<?php include 'header.php'; ?>
		<div id="tabledata" class="section">
			<h2 class="ico_mug">Bilgi Bankasý</h2>
		<table id="table">
			<thead>
			<tr>
				<th>Ýçerik No.</th>
				<th>Kategori</th>
				<th>Baþlýk</th>
			</tr>
			</thead>
			<tbody>
<?php
include 'ayar.php';

$listeisl = mysql_query("SELECT * FROM bilgibankasiicerik");
while($listele = mysql_fetch_array($listeisl))
{
$yid = $listele['id'];
$bbaslik = $listele['baslik'];
$bkat = $listele['kategori'];

			echo "<tr>
				<td class=\"table_date\">$yid</td>
				<td class=\"table_title\"><span class=\"approved\">$bkat</span></td>
				<td>$bbaslik</td> 
				</tr>";
}
?>
			</tbody>
		</table>
		</div> 
<div align="right"><br />
<form method="post" action="bbkat.php"> <b>Kategori:</b> <select name="bbkategori">
<?php
$listeisl2 = mysql_query("SELECT kategori FROM bilgibankasiicerik");
while($listele2 = mysql_fetch_array($listeisl2))
{
$bkat2 = $listele2['kategori'];

echo "<option value=\"$bkat2\">$bkat2</option>";
}
?>
</select>
<input type="submit" value="Devam >>" /></form></div>
		
<?php include 'footer.php'; ?>
Return current item: MythPHP