using php to send data to another page without Form code example
Example 1: send value from one page to another in php
$_SESSION['varname'] = $var_value;
$var_value = $_SESSION['varname'];
Example 2: php post variables to another page with submit button php
<html>
<form id="form" action="webAddressYouWantToRedirectTo.php" method="POST">
<input type="hidden" name="expectedPOSTVarNameOnTheOtherPage" value="<?php echo $varYouMadePreviouslyInProcessing ?>">
</form>
<script>
document.getElementById("form").submit();
</script>
</html>