Like I said before, you need to encapsulate your news stuff with <tr><td></td></tr>
I just copied your code and put those tags around the news and it works.
Index file:
PHP Code:
<div id="right">
<table width="100%" cellspacing="0" cellpadding="0">
<div class="submenu" id="sub8">
<tr>
<td>
<img src="http://tbn0.google.com/images?q=tbn:Omplzers5AVSTM:http://corz.org/dev/img/butt_dev-php.png" alt="" width="167" height="37" />
</td>
</tr>
<?php require "test2.php"; ?>
</div>
</table>
</div>
File to Include:
PHP Code:
<tr>
<td>
<?php
$usemarquee = 1;
$scrolldirection = "Up";
$headline = 'This is my stuff';
if ($usemarquee == 1) {
echo "<Marquee Behavior=\"Scroll\" Direction=\"$scrolldirection\" Height=\"140\" ScrollAmount=\"2\" ScrollDelay=\"100\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\"><br>
";
}
echo "
<p>
<b><a href=''><font size='1'>$headline</font></a></b>
<br /><font size='1'>Written by <b><a href='$VAR[0]/$newsuser'>$newsuser</a></b> - Posted $displaydate minutes ago</font>
";
?>
</td>
</tr>
Bookmarks