Wie bekommich es hin das die news nebeneinander stehen?
PHP:
$news = mysql_query("SELECT * FROM `bj_news_cat` ORDER BY name ASC");
while( $row = mysql_fetch_object($news) )
{
$row->text = nl2br($row->text);
$cat = mysql_query("SELECT * FROM `bj_news` where kategorie='$row->id'");
$beitrage = mysql_num_rows($cat);
echo"
<table width='100%' background='gfx/1.jpg' cellpadding='0' cellspacing='0'>
<tr>
<td width='25' height='25'></td><td align='center'>
$row->name
</td><td width='25' height='25'></td>
</tr>
</table>
<table width='100%' background='gfx/2.jpg' cellpadding='0' cellspacing='0'>
<tr>
<td width='25' height='25'></td><td>
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td align='center'><a href='news.php?set=news&&action=category&&catid=$row->id'>";
if( file_exists("acp/kategorien/$row->id.jpg") )
{ echo"<img src='acp/kategorien/$row->id.jpg'>"; }
else { echo"<img src='acp/kategorien/na.jpg' height='100'>"; }
echo"</a></td>
</tr>
</table>
</td><td width='25' height='25'></td>
</tr>
</table>
<table width='100%' background='gfx/3.jpg' cellpadding='0' cellspacing='0'>
<tr>
<td width='25' height='25'></td><td align='center'>
$beitrage Beiträge
</td><td width='25' height='25'></td>
</tr>
</table><p> </p>";
}