kusarigama
Technical User
Hi all,
is there a way to output hidden form fields on the first submit:
I need it to output error messages on the top of my script!
<form action=<?=$_SERVER['PHP_SELF'];?> method=post>
<input type=hidden name=collect value=<?=$_POST['collect']?>>
<?PHP
echo $_POST['collect'];
?>
<?
if(isset($_POST['submit']))
{
if($nomail == 1)
{
$_POST['collect'] = "no mail sent";
}
}
?>
Thanx in advane
is there a way to output hidden form fields on the first submit:
I need it to output error messages on the top of my script!
<form action=<?=$_SERVER['PHP_SELF'];?> method=post>
<input type=hidden name=collect value=<?=$_POST['collect']?>>
<?PHP
echo $_POST['collect'];
?>
<?
if(isset($_POST['submit']))
{
if($nomail == 1)
{
$_POST['collect'] = "no mail sent";
}
}
?>
Thanx in advane