想要显示错误消息作为表单操作的结果。例如
<form action=a.php
input .....
</form>
<span.....>
<?php
$variable(Initially the value of this variable null according to the result of form value will change)
?>
</span>
对于特定条件,我想在 a.php 页面中设置 $variable 的值并使用header();
. 但$variable
不改变。如何从 a.php 更改 $variable ?