kategori_berita.php
<?php
include('koneksi.php');
$_REQUEST['catid'] = isset($_POST['catid']) ? $_POST['catid'] : '';
$result = mysql_query("SELECT * FROM kategori_berita") or die(mysql_error());
echo '<ul>';
while ($data=mysql_fetch_array($result)){
if ($_REQUEST['catid']==$data['id'])
echo '<li>'.$data['kategori'].'</li>';
else
echo '<li><a href="./?catid='.$data['id'].'">'.$data['kategori'].'</a><br/></li>';
}
echo '</ul>';
?>
</div>
I am trying to print bullet button list for each kategori:
if ($_REQUEST['catid']==$data['id'])
echo '<li>'.$data['kategori'].'</li>';
else
echo '<li><a href="./?catid='.$data['id'].'">'.$data['kategori'].'</a><br/></li>';
I wonder why I do not see the bullet button, only the kategori text?