I have HTML/PHP website (HTML code inside my .php)
I am using the $_GET["name"] method so that I can write the name of my guest in the link I send (for exemple : mywebsite.com/index.php?name=Mike). Here's the code I use :
<p class="guest_info">
<?php echo " " . $_GET["name"]; ?>
<img alt="account_avatar" src="./index_files/avatar.svg">
</p>
Now, I would like this name to be implemented to the differents pages. My current problem is that if I give the link and after click on another page of my website, the ["name"] is not saved. I Would like to save the name used in the first given URL while navigating, and if I change the name in the link, that it automaticaly changes the pages aswell.
Thanks for helping