|
发表于 2020-6-14 22:45:02
|
显示全部楼层
1.php
------
while($data = mysql_fetch_array($query))
{
$dataStr = implode(',',$data);
printf("<tr>");
for($i=0;$i<$count_num;$i++){
$format = "<a href=\"javascript:
window.open('ViewCache.php?id=$dataStr,'_blank');void(0);\">%s</a>" ;
printf("<td nowrap>$format</font></td>",$data[$i]);
}
}
ViewCache.php:
-----------------------
print_r(explode(',',$_GET['id'])); |
|