Adesso mi da qsto errore
Notice: Use of undefined constant IMG - assumed 'IMG' in C:\Documents and Settings\costa\Desktop\ServerLocale\Root\ComuneGua rene\VisualizzaNominativo.php on line 185
dove la riga 185 è la kiusura del td
posto il codice di tutta la pagina magari l'errore è da un altra parte
codice:
$conn= mysql_connect("localhost", "root", "usbw");
if (!$conn)
{ die("Connessione a Mysql non riuscita " . mysql_error()); }
$db= mysql_select_db("tributi", $conn); if (!$db)
{ die("Connessione al Database non riuscita " . mysql_error()); }
$Risultato= mysql_query("SELECT ID, Nominativo, CodFiscale, Tassa, Date(DataPagamento) as DataPagamento, Anno, DUF, IMG
FROM Versamentidaposte
WHERE ID=$ID
GROUP BY Nominativo, CodFiscale, Tassa, Date(DataPagamento), Anno, DUF") or die (mysql_error());
while ($row = mysql_fetch_array($Risultato)){
$ID=ereg_replace("\"",""",$row['ID']);
$Nominativo=ereg_replace("\"",""",$row['Nominativo']);
$CodFisc=ereg_replace("\"",""",$row['CodFiscale']);
$TipoTassa=ereg_replace("\"",""",$row['Tassa']);
$DataPagamento=ereg_replace("\"",""",$row['DataPagamento']); $Anno=ereg_replace("\"",""",
$row['Anno']); $UfficioPostale=ereg_replace("\"",""",$row['DUF']); $Bollettino=ereg_replace("\"",""",$row['IMG']);
echo " [i] <font size=6 face=Perpetua > [b]"
$row[Nominativo]"
<div style='position: absolute; width: 179px; height: 317px; z-index: 6; left: 56px; top: 275px' id=Dettagli >
<fieldset style='border:1px solid #00458A; width: 600px; height: 390px; color:#00458A; font-family:Tahoma; font-style:italic;' >
<table border=0 width=1052 id=table1 >
<tr>
<td align=center bordercolor=#EAF8FF height=6 width=1044 >
<table align=center border=0 width=334 id=table2 height=29 >
<tr><td bordercolor=#EAF8FF align=center height=6 width=407 >
<font face=Bangle >Codice Fiscale:</font>
<font face=Perpetua size=4 > $row[CodFiscale]</font>
</td></tr> </table>
<table border=0 width=334 id=table23 height=17 >
<tr>
<td bordercolor=#EAF8FF align=center height=6 width=407 >
<font face=Bangle >Tipo Tassa:</font>
<font face=Perpetua size=4 >$row[Tassa]</font>
</td>
</tr>
</table>
<table border=0 width=334 id=table15 height=18 >
<tr>
<td bordercolor=#EAF8FF align=center height=6 width=407 ><font face=Bangle >Data Pagamento:</font>
<font size=4 face=Perpetua >$row[DataPagamento]</font>
</td>
</tr>
</table>
<table border=0 width=334 id=table16 height=24> <tr>
<td bordercolor=#EAF8FF align=center height=6 width=407 >
<font face=Bangle >Anno di Riferimento:</font>
<font face=Perpetua size=4 >$row[Anno]</font> </td> </tr> </table>
<table border=0 width=334 id=table16 height=24 > <tr>
<td bordercolor=#EAF8FF align=center height=6 width=407 >
<font face=Bangle >Ufficio Postale:</font>
<font size=4 face=Perpetua >$row[DUF]</font> </td> </tr> </table>
<table border=0 width=334 id=table16 height=24 > <tr>
<td bordercolor=#EAF8FF align=center height=6 width=407 >
<font face=Bangle >Bollettino:</font>
<img src=\"" . $row[IMG] . "\";> </td> </tr> </table> ";