How to auto pop a PHP form

How would I auto populate a new form after is has already been posted to formmail

I have a form on an html page (server-parsed) that submits app form to email.
The user is then taken to thank you page (html), now here is where they are given an option to sign up for another item b clicking on a link below.

How can I get their previous info like name ,phone fields from previous form to populate here AFTER clicking on “submit” on the thank you page.

So there are 3 pages:
1st page - where original form is submitted to formmail
2ndpage - confirmation or thankyou
3rd page - if user clicks through a new brief form is auto-populated for submission.
Yes, I can change the both pages or 1 page (thank you) to php

Thanks

wow. I should not multi-task anymore.
Thanks

That error is because you left off the semicolon on the end of line 2.

The semicolons on the end of the following lines are also missing.

Save the information you want available on page 3 in the $_SESSION var.

I am getting errors on line 3


<?php session_start();
$First_name = $_SESSION['First_name']
$Last_name = $_SESSION['Last_name']
$H_area_code = $_SESSION['H_area_code']
$H_prefix = $_SESSION['H_prefix']
$H_suffix = $_SESSION['H_suffix']
$Email = $_SESSION['Email']
$State = $_SESSION['State']
echo $First_name;
echo $Last_name;
echo $H_area_code;
echo $H_prefix;
echo $H_suffix;
echo $Email;
echo $State;
?>