sinon, tu utilises la méthode du forum :
<script language="JavaScript" type="text/javascript">
function dR(color, a1, a2, a3, a4, a5, a6, a7)
{
document.write("<tr bgcolor=\"" + color + "\"><td width=\"30\">" + a1 + "</td><td width=\"170\">" + a2 + "</td><td width=\"75\">" + a3 + "</td><td>" + a4 + "</td><td width=\"30\">" + a5 + "</td><td width=\"100\">" + a6 + "</td><td width=\"150\">" + a7 + "</td>";
}
</script>
Et dans le HTML :
<table width="800" border="0" align="center">
<script language="JavaScript" type="text/css">
<?
for ...
{
echo("dr('$color', '$aa01', '$aa02', '$aa03', '$aa04', '$aa05', '$aa06', '$aa07');" );
}
?>
</script>
</table>