Creating session variables in PHP can be a useful to transfer data from page to page without having to ask visitors for the same information.
A session can be created with the following code:
<?php
session_start();
$name = $_SESSION["name"];
<input type="hidden" name="name-var" value="<?php echo $name; ?>"/>
<button>Continue</button>
Check out my new app about car and truck information
No comments:
Post a Comment