[PHP
]$strwhile.="
<tr>
<td>Nome</td>
<td>Cognome</td>
</tr>
<tr>
<td>$array[Nome]</td> //nuovo errore
<td>$array[Cognome]</td>[/PHP]

c'è da dire che voglio inserire altri dati tipo come sopra, è per questo motivo che non funge?

ps ho provato sia con che senza apici.