|
Let me be clear:
I read the data from the database and display it circularly:
while($data = mysql_fetch_array($query)){
printf("<tr>");
for($i=0;$i<$count_num;$i++){
$format = "<a href=\"javascript: window.open('ViewCache.php?$id=$data[$i],'_blank');void(0);\">%s</a> ";
printf("<td nowrap>$format</font></td>",$data[$i]);
}
}
td is displayed cyclically according to the condition, adding a connection to each TD to pass the value, the problem: passing the value to which this TD belongs is no problem, the above is OK, and now the TD that is displayed in a loop is required to connect no matter which point. Passing the value of the entire TR, not just the value of the TD, I don’t know how to do it, please master it! |
|