php header location send post data code example
Example: how to send post variables in header php
<form name="myform" action="" method="post">
<p>Name</p>
<input type="text" name="name" value="" />
<span class="warning"><?php if (isset($errors['name'])) echo $errors['name']; ?> </span>
<p>Employer</p>
<input type="text" name="employer" value="" />
<span class="warning"><?php if (isset($errors['employer'])) echo $errors['employer']; ?> </span>
<input name="somename" type="hidden" value="somevalue"/>
<input type="submit" value="send">
</form>