js:
......
<SCRIPT language=JavaScript>
function o_targetwin(clocation, wNo){
var wName;
wName = \"win\" + wNo;
var scriptwin = window.open(clocation,wName,\'toolbar=no,location=no,resizable=no,status=no,scrollbars=yes,width=300,height=400\');}
</SCRIPT>
......
mysql statement......
<table .......><tr>
<?php
if (!($result = mysql_query($DB,\"SELECT * FROM goods0\")))
{return 0 ;}
$j=1;
while(($row = mysql_fetch_array($result)))
{
$html=$row[\"detailaddress\"];
$title=$row[\"detailtopic\"];
$text=$row[\"detailtext\"];
?>
<TD> <?php echo $row[\"name\"];?></TD>
<TD> <?php echo $row[\"quantity\"];?></TD>
<TD>
<A href=\"javascript:o_targetwin(\'detail.php\',
\'<?php echo $row[\"detailid\"]?>\');\"><IMG border=0 height=25 src=\"img/open.gif\" width=42></A></TD></TR></table>
<?php
$j++;}
?>
......
above
now my question is how can send the var $html,$title,$text to detail.php,once the js😮_targetwin be clicked.
I have used session but I still wonder cause
there have a while function in code.session cant move every var to detail.php.
Plz help me!Thanx