umm non va mi da errore su quella linea .. se ti puo' interessare quesot è il codice per esteso
codice:
<?php
$result = mysql_query("SELECT * FROM `news` ORDER BY newsid DESC LIMIT 1");
while ($row = mysql_fetch_array($result)) {
?>
<table class="bordopiccolo" width="385" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" >
<tr>
<td class="bordotd"> </td>
</tr>
<tr>
<td class="bordotd"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="titolo"><? echo "$row[1]" ?></span>
<span class="white"><? echo "$row[2]" ?></span></p>
<? }
mysql_free_result($result);
?>
</p></td>
</tr>
<tr>
<td> <div align="center">
<table width="360" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8" height="16">[img]img/barrasx.gif[/img]</td>
<td width="100%" background="img/barracenter.gif">[img]img/barratext.gif[/img]</td>
<td width="25">[img]img/barradx.gif[/img]</td>
</tr>
</table>
</tr>
<tr>
<td>
<?php $result = mysql_query("SELECT * FROM `news` ORDER BY newsid DESC LIMIT 1,5")
while ($row = mysql_fetch_array($result)) {
?>
<span class="white"><? echo "$row[1]" ?></span></p>
<? }
mysql_free_result($result);
?>
</p>
</p></td>
</tr>
</table>
della seria .. e che me ne frega a me
?
l'ho messo per farti vedere che prima voglio prendere 1 news completa (campo 1 e campo 2 spediti rispettivamente al vettore row) mentre delle notizie 2,3,4,5 mi interessa solo il row1 (che sarebbe il titolo)