I have a form where users enter their infomaiton. I then have a second page where users entre differnt infomation, i then have a page which creats a HTML script to make a paypal button
My question is that how do i parse varbiles of the first page, though the second page and on to the third. I manged to pass varbiles from page 2 > 3 by doing
$_POST['FirstName']; << Var from page1
$_POST['Amount']; << var form page2
AND
<input type='hidden' name='item_name' value='<?php echo $_POST['FirstName'] ?>'>
But i tried to include the varibles from page one and it didnt work, so in page two i added
<?php
$_POST['FirstName']; << vars from page 1
$_POST['Surname'];
?>
to the top of page thinking it would just pass them form the second and the third could act on them but it doesnt as no data is added
Any one know how to help
Thanks