Okay, jeg får bare en blank side, så må have lavet en fejl.
I kan lige få hele koden:
<?
$count = 1;
$result_1 = mysql_query("SELECT * FROM news ORDER BY id DESC LIMIT 10") or die(mysql_error());
while($row_1 = mysql_fetch_array($result_1)){
if($count&1){
?>
<div class="spacer1"></div>
<div class="inder3b">
<img src="images/news_img_items.png" alt="" style="float: right;" width="85" height="47">
<span class="nyhed_hoejre"><strong><a href="read_more.php?newsid=<? echo $row_1['newsid']; ?>"><? echo $row_1['title']; ?></a> <? echo $row_1['dtime']; ?></strong></span>
<p class="nyhed_tekst_v"><? echo $row_1['text1']; ?></p>
</div>
<?
} else {
?>
<div class="spacer1"></div>
<div class="inder3b">
<img src="images/news_img_small.png" alt="" style="float: left;" width="85" height="48">
<strong><a href="read_more.php?newsid=<? echo $row_1['newsid']; ?>"><? echo $row_1['title']; ?></a> <? echo $row_1['dtime']; ?></strong>
<p class="nyhed_tekst_h"><? echo $row_1['text1']; ?></p>
</div>
<?
}
count++;
}
?>