hai fatto venire il mal di testa anche a me...

<?
echo "<table border=5 cellspacing=4 cellpadding=4 width=80% height=80%>";

if(file_exists('foto/'.$row[LISTA].'-'.$row[POSIZIONE].'.jpg')) {
echo "<tr><td rowspan=10><center><a href=\"indexposta.php?N=$row[N]\" title=\"Acquista\"><img src=foto/$row[LISTA]-$row[POSIZIONE].jpg></td></tr>";
}

else
{
echo "<tr><td rowspan=10><center><img src=foto/1.jpg></td></tr>";
}

echo "<tr><td>N</td><td><p align='left'> $row[N]<font color='white'> LISTA</font><font color='white'> $row[LISTA]</font><font color='white'> POSIZIONE</font><font color='white'> $row[POSIZIONE]</font></td></tr>";

echo "<tr><td>Autore</td><td><p align=justify> $row[AUTORE]</td></tr>";
echo "<tr><td>Titolo</td><td><p align=justify> $row[TITOLO]</td></tr>";
echo "<tr><td>Editore</td><td><p align=justify> $row[EDITORE]</td></tr>";
echo "<tr><td>Anno<td><p align=justify> $row[ANNO]</tr>";
echo "<tr><td>Descrizione</td><td><p align=justify> $row[DESCRIZIONE]</td></tr>";
echo "<tr><td>Stato</td><td><p align=justify>disponibile</td></tr>";
echo "<tr><td>Prezzo</td><td> € $row[PREZZO],00</td></tr>";
echo "<tr><td colspan=2><center><a href=\"Condizioni.php\" target=\"_parent\" title=\"Condizioni di vendita\">Condizioni di vendita</a>


<a href=\"indexposta.php?N=$row[N]\" title=\"Acquista\"><img border=0 width=50 height=60 src=\"icona carrello.gif\"></a></td></tr>";

echo "</table>";
mysql_close($db);
?>