How do I set this up such that when a user enters his first name and last name, I write it to a .html file and then give the user a link to view the information that they have just entered?
I know I could just echo that out like I am already doing with $_POST['userfName'] after Welcome, but I just want to write to some .html file and echo this information back to the user to view(see).
{
$_SESSION['userEmail'] = $_POST['userEmail'];
$_SESSION['start'] = time();
echo "Welcome, " . $_POST['userfName'] . $_POST['userlName'] .". A new session has been activated for you. Click <a href="sometextfile.html">here</a> to see your information.";
echo "<br>Your session id is: ".session_id();
}