<div align="center">
<table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="1" class="sub">
<tr><td colspan="2"><p class="head"> Latest Battles</td></tr>
<tr>
<?
$query = "SELECT battle_id, battle_outcome, battle_clan FROM battles ORDER BY battle_id DESC LIMIT 0, 5";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
if (mysql_num_rows($result) > 0)
{
while($row = mysql_fetch_object($result))
{
?>
<td>
<table width=50% border=0>
<tr valign=top>
<td valign=top><p><? echo $row->battle_clan;?></td>
<td><p>
-
</td>
<td valign=top><p><? echo $row->battle_outcome; ?></td>
</tr>
</table>
</td>
<?
}
}
?>
</tr>
</table>
</td> <br>
</tr>
</table>
</div>
I know i don't currently have any <br> tags in here, that's because i've tried using it almost everywhere...
What the problem is, is that the text being displayed comes out on 1 line, and i want each set of php rows to be on a different line...
if you have any ideas where i can put the tag, ill try it and let you know. thanks.