【发布时间】:2017-08-18 07:54:48
【问题描述】:
这是我的代码
while ($row = $result->fetch_assoc())
{
$imgpath=$row['image_name'];
$id=$row['id'];
<input type="hidden" name="Id" value="' . $row['Id'] . '" >
这里当我点击发送 ID 到下一页时
<img src="'.$imgpath.'" height="170" width="600" title="album-name" class="img-responsive" alt=" " />
}
我可以使用表格吗?
【问题讨论】:
-
你可以使用
Javascript -
您要发送的隐藏字段是什么?你想把它寄到哪里?
-
@HamzaAbdaoui 先生再看一遍我刚刚更新..我想将其发送到下一页,例如 text.php 之类的任何页面
标签: php hidden-field