Topic: multiple inculde in other category
hello all,
i have build website using bootstrap. i want to showing cutenews using tabs script.
i've using 4 tabs, using this code :
<div role="tabpanel">
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li role="presentation" class="active">[url=#all-notice]All Notice[/url]</li>
<li role="presentation">[url=#news]News[/url]</li>
<li role="presentation">[url=#event]Event[/url]</li>
<li role="presentation">[url=#change-log]Change Log[/url]</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="all-notice">
<?
include("cute/show_news.php");
?>
</div>
<div role="tabpanel" class="tab-pane" id="news">
<?
$category = "1";
include("cute/show_news.php");
?>
</div>
<div role="tabpanel" class="tab-pane" id="event">
<?
$category = "2";
include("cute/show_news.php");
?>
</div>
<div role="tabpanel" class="tab-pane" id="change-log">
<?
$category = "3";
include("cute/show_news.php");
?>
</div>
</div>
</div>
and the result is like this :
the problem on the tab News, Event, and Change Log is showing all news same like All Notice
they are not showing by category
any solution for this problem ?
thanks for advance, and sorry for my bad language