I have a question about passing a variable from php to html and back again
Ideally i'd like to pass a customers name inputted into php file using a form out into the form submission page as a hidden form input and then use this value in a new php file when a button is pressed to send them back to the home page.
the aim is to show the users name once they have completed the form. I've had a look around and many people suggest using code similar to this:
value="<?php echo htmlspecialchars($name); ?>"
but if i include this in my html form do I not have to save the html document as php?
I hope someone can help, thanks in advance!