Ciao,
perchè il codice qui sotto funziona e mi apre una popup
- <td width="30%"><A href="#" onClick="window.open ('dettaglioprodotti.php?idprod=<?php print $righe['tb_prodotti_id'] ; ?>','',
'top=10,left=10,width=500,height=400,scrollbars=ye s ');"><?php print $righe['tb_prodotti_descr'] ; ?></a></td>
mentre questo qui sotto non mi apre niente
Codice PHP:
$html .= "<tr>
<td width=\"10%\">$righe[tb_prodotti_id]</td>
<td width=\"30%\"><A href=\"#\" \"onClick=window.open ('dettaglioprodotti.php?idprod=$righe[tb_prodotti_id];','',
'top=10,left=10,width=500,height=400,scrollbars=yes');\">$righe[tb_prodotti_descr]</a></td>" ;
grazie