I hope its not duplicate or already been answered because I cant find nothing similar on SO. I have included file: include 'data/news.php';
<?php
$news = '
<div class="news_title">News Title</div>
<div class="news_date">Newsdate</div>
<div class="news_content">News content</div>
';
echo $news;
?>
In index file I try to show $news like this:
<div class="rightbox"><div class="h1title">Novice</div>
<?php $news ?>
</div>
Class "rightbox" is floated to the right side, but my $news is displayed right after menu content, its not in < div class =" rightbox " > "here" < /div > as I thought it should be (it makes no sense -> it should be in rightbox div but its not ?? Here's a screenshot of firebug:
http://i43.tinypic.com/kz505.png
I cant find any explanation on this so any suggestions would be welcome.