PHP News Feed and Table help needed

Hi all, As mentioned in title, i need help with news feeding from phpbb and i seem to have a problem with my tables.

My problem is illustrated as in http://stuffthatflies.jlu.jp/test3.php

If need be, My php script is below

Seraph Ragnarok Online : SeraphRO.com Where Fun Never Ends!

<?php /* Server Status Script */ include("server_status.php"); ?>

	<script type="text/javascript" src="javascript_functions.php"></script>
[X] Vote For Us [X]
LALALALA
      // PHPBB EXPORT SCRIPT STARTS HERE
<? require("funcs.php"); $res = getlastposts($numposts); /* debug_array($res); */ ?> <? for($i=0; $i

</td>
 <td width="16" height="16" align="right" valign="top"><img src="img/cat_top_rs.gif" width="16" height="16" alt=" " border="0" /></td>
		<div align="left">

<?=$res[$i][tpc_title] ?>

<? if ($res[$i][pst_postsub]!=$res[$i][tpc_title] && $res[$i][pst_postsub]!="") { print "Subject: " . $res[$i][pst_postsub] . ""; } ?>

</tr>
<tr>
  <?
  if ($avatarsupport==1) {
  ?>
  <td width="750"><?=get_post_text($GLOBALS['numchar'], $res[$i][pst_posttxt], $res[$i][pst_postid]) ?></td>
  <td width="<?=getmaxwidth() ?>" align="right"><img src="<?=getavatar($res[$i][usr_avatar], $res[$i][usr_avtype]) ?>" alt="<?=$res[$i][usr_username] ?>s avatar" border="0"></td>
  <?
  } else {
  ?>
  <table width="600" align="left" border="0" cellpadding="0" cellspacing="0" class="midrow">
  <?=fmt_date($res[$i][pst_posttime], datefmt) ?> by <?=$res[$i][usr_username] ?>

<?=get_post_text($GLOBALS['numchar'], $res[$i][pst_posttxt], $res[$i][pst_postid]) ?>
<a target="_blank" href="<?=gettopicurl($res[$i][pst_postid]) ?>"><?=$res[$i][tpc_replies] ?> Comments</a></td>

 	</div>
<? } ?> <? } ?>
      </TD>
      <TD width=10></TD>
      <TD vAlign=top width=180>
        <TABLE cellSpacing=0 cellPadding=0 width=180 border=0>
          <TBODY>
          <TR>
<?php echo $server_status; ?>
<?php echo $server_status; ?>
<?php echo $server_status; ?>

Copyright ??????‚?© 2007 SeraphRO.Com :: All rights reserved :: Graphics Coypyright Gravity Co Ltd. :: Design Copyright Stealth

I am in rather urgent need of help. Hope to solve this ASAP.

Thanks in advance,
Jaryl (Stealth)

Sponsor our Newsletter | Privacy Policy | Terms of Service