This question already has an answer here:
This code shows the information (kind of like a confirmation or review) of what the user submitted in the form.
<?php
if(isset($_POST['submit'])){
echo $_POST['info1'];
echo "<br/>";
echo $_POST['info2'];
echo "<br/>";
echo $_POST['info3'];
}
?>
I don't want to put it on the same page as my form. How can I make it so I put it on another .php page?
EDIT: I already have the code where the everything saves to the database when the user submits the form. How can I display the information that the user just submitted to that user on another page?
</div>
You need to write inser query for the above code. Then You can get it using Select query. You can get help from W3School about writing simple mysql query. I hope that will helpful for you