while ($righe = mysql_fetch_array($risultato)){
echo '<table bordercolor=ff0000 border=1 width=60% bgcolor=ccccff cellspacing=2><tr>
<td width=5% valign=top> $righe[0]</td>
<td width=30% valign=top>$righe[1]:</td>
<td width=50% valign=top> $righe[2]</td>
<td width=15% valign=top>del $righe[3]</td>
</tr>
</table>';
}
Il problema è dirgli che righe[n] è una variabile senza perdermi la formattazione. Il popup funziona.
Così com'è nella tabella non appaiono i contenuti delle variabili, ma i nomi.