Hello,
I'm trying to send a variable from a form on one page (new.html), through to a .php file (next.php) and then through again to another .php file (process.php).
The variable gets from new.html to next.php fine, but when I try to pass automatically from next.php to process.php, it doesn't go.
Variable is $a.
Code from next.php is:
<html>
<body>
<?php
$a = $_POST['a']; // grabs variable from html form
$a = $a + 1; // adds one to it
????????????? // then I'm not sure how to pass it again.....
?>
<!--- then this redirects to process.php
-->
<script language="JavaScript">
<!--
window.location.replace('process.php');
//-->
</script>
</body>
</html>
Thanks in advance!
BFC