You could also use GET variables too. (vars added to the URL)
Here's 2 ways of doing it:
1) Using a form
<form action='002.php' type='GET'>
<input name='firstName' value='enter firstName'/>
<input name='lastName' value='enter firstName'/>
<input name='purpose' value='enter purpose'/>
<input type='submit' value='submit'/>
</form>
2) Using a hand-constructed URL (& redirectng via header in this instance)
<?php
$url = '002.php';
$url .= '?firstName=Code';
$url .= '&lastName=Project';
$url .= '&purpose=answers';
header('Location: '.$url);
?>
002.php
<?php
$firstName = $_GET['firstName'];
$lastName = $_GET['lastName'];
$purpose = $_GET['purpose'];
echo $firstName . $lastName . " - purpose: " . $purpose;
?>