Well if you post some code I can give you more help but it would be something like this. Create three pages called page1.php page2.php and page3.php
In page1.php put this
<html>
<?php
//we have to put this in every page
//if you don't your session variables won't work
session_start();
if($_SESSION['var']){ echo("You came from {$_SESSION['var']}<br>");
}
$_SESSION['var'] = "page 1";
?>
<body>
Go to: <a href="page1.php">page 1</a>  
<a href="page2.php">page 2</a>  
<a href="page3.php">page 3</a>  
</body>
</html>
In page2.php put this
<html>
<?php
//we have to put this in every page
//if you don't your session variables won't work
session_start();
if($_SESSION['var']){
echo("You came from {$_SESSION['var']}<br>");
}
$_SESSION['var'] = "page 2";
?>
<body>
Go to: <a href="page1.php">page 1</a>  
<a href="page2.php">page 2</a>  
<a href="page3.php">page 3</a>  
</body>
</html>
in page3.php put this
<html>
<?php
//we have to put this in every page
//if you don't your session variables won't work
session_start();
if($_SESSION['var']){
echo("You came from {$_SESSION['var']}<br>");
}
$_SESSION['var'] = "page 3";
?>
<body>
Go to: <a href="page1.php">page 1</a>  
<a href="page2.php">page 2</a>  
<a href="page3.php">page 3</a>  
</body>
</html>
Now I just used simple static variables however, you could have as many $_SESSION['var']'s as you need i.e. $_SESSION['price'] $_SESSION['itemname'] and then set them to form input. Let me know if you need more help.