我的页面接收到我用 $_post 检索的数据。我显示了一些数据,在页面底部我的按钮必须将数据保存到 mysql。我可以将表单提交到下一页,但是我如何访问我通过 post 检索到的数据呢?可以说我有以下代码(实际上有更多变量..):
<?php
$v= $_POST["something"];
echo $v;
echo "Is the following information correct? //this would be at the bottom of the page with the buttons
?>
<input type="button" value="submit data" name="addtosql">