Salve,
come posso inserire un link in php come questo?

<a href="javascript:dett('<?echo"prodotti.php?id=$pro dotto[id]";?>')">
[img]images/info2.gif[/img]</a>


Praticamente ho una tabella
Elenco giusto due righe
$htmtabellaprodotti .="<tr bgcolor=\"abcdef\"><font size = 1><td width=10%><a title = \"DETTAGLIO DEL PRODOTTO\" target = \"_blank\" href = \"DettaglioProdotti.php?id=$prodotto\">$prodott o</a></td>";
$htmtabellaprodotti .="<td width=25%>$descrizioneprodotto</td>" ;

Al posto del target _blank vorrei fare una cosa come quella di javascript


Grazie