怎么传递查询出的值?
我才学PHP,在自己编的一个网页里,想在点击了“Alter”按钮以后把该行查询出的$row['address']传到另外一个页面中(alter.php)。哪位高手帮忙想想怎么弄啊,谢谢了~~
$array[50];
$i = 0;
while($row = mysql_fetch_array($result)){
echo "<tr>";
echo "<td align = 'center'>" . $row['id_z'] . "</td>";
echo "<td align = 'center'>" . $row['name_z'] . "</td>";
echo "<td align = 'center'>" . $row['address'] . "</td>";
echo "<td align = 'center'>" . $row['type_w'] . "</td>";
echo "<td align = 'center'>" . $row['id_s'] . "</td>";
echo "<td align = 'center'>" . $row['time_sq'] . "</td>";
echo "<td align = 'center'>" . $row['time_sh'] . "</td>";
echo "<td align = 'center'>" . $row['result'] . "</td>";
echo "<td align = 'center'><input type = 'submit' size = '15' name ='" . $array[$i] . "'
value = 'Alter' ></td>";
echo "</tr>";
$i++;
}