Topic: Multiple includes in one page
Hello, I'm trying to put two includes in one single page. The code looks like this:
<div class="ladoEsq informativo2">
*
<div class="ladoEsq"><img src="<?php echo site_url('common/images'); ?>/produto.jpg" alt="Produto" /></div>
<div class="ladoDir">
<?php
$number = 1;
$start_from = 1;
$category = "4";
$static = TRUE;
include("/home/nchmed/public_html/siteteste/comcute/cutenews/show_news.php");
?>
</div>
*
<div class="ladoEsq"><img src="<?php echo site_url('common/images'); ?>/produto.jpg" alt="Produto" /></div>
<div class="ladoDir">
<?php
$number = 1;
$start_from = 1;
$category = "3";
$static = TRUE;
include("/home/nchmed/public_html/siteteste/comcute/cutenews/show_news.php");
?>
</div>
</div>
</div>
the problem is: when I render the page, it's showing all the comments in both divs. How can I get it to work?