how to add name to php form?

AliOki

New member
I want to be able to post the name the user inputted into the form on he confirmation page. How do I do this? Here is the code:

$success_message = "<p>Your feedback form has been sent. Thank you for your submission!</p>";


And I think this is the snippet I want to add (I'm not fluent in PHP) <?php echo $_POST["name"]; ?> as the name of the name field was 'name'.

How do I add that? Thanks!
 
$success_message='<p> thank you' .$_POST['name'].' Your Feedback has been sent.</p> ';

Use the period (.) operator w/c basically means +
 
Back
Top