Ragazzi ma non funziona!!!!!! mi da un errore!!!
Vi posto il sorgente:
..................
$query = "select * from annuncio";
$dbResult = mysql_query($query, $db);

while ($line = mysql_fetch_array($dbResult, MYSQL_NUM)) {
print "<table border=\"1\">
<tr>
<td>ID:$id['id']</td>
<td>Nome: $nome['nome']</td>
<td>E-Mail:$email['email']</td>
</tr>
<tr>
<td>Testo: $testo['testo']</td>
</tr>
</table>\n";
}
mysql_free_result($dbResult);
mysql_close($db);

Mi da il seguente errore:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\programmi\apache group\apache\test\annunci\show.php on line 24

Se invece non uso le parentesi quadre, cioè se faccio solo così $id
mi stampa solo la tabella.
Perchè??? come posso fare???