/
var
/
www
/
barefootlaw.org
/
will-generator
/
Upload File
HOME
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Submit Button Example</title> <!-- Add CSS for button styling --> <style> /* Style for the button */ button { background-color: #4CAF50; /* Green background */ border: none; /* Remove border */ color: white; /* White text */ padding: 15px 32px; /* Padding */ text-align: center; /* Center text */ text-decoration: none; /* Remove underline */ display: inline-block; /* Display as inline block */ font-size: 16px; /* Font size */ margin: 4px 2px; /* Margin */ transition-duration: 0.4s; /* Transition duration */ cursor: pointer; /* Cursor pointer */ border-radius: 8px; /* Rounded corners */ } /* Hover effect for button */ button:hover { background-color: #45a049; /* Darker green background */ } </style> </head> <body> <!-- Start the PHP session --> <?php // Start PHP session session_start(); // Check if the 'id' parameter is set in the URL if (isset($_GET['id'])) { // Store the ID in a session variable $_SESSION['id'] = $_GET['id']; } ?> <!-- Form element --> <form action="process_generated_will.php" method="post"> <!-- Button element with styling --> <button type="submit">Submit</button> </form> </body> </html>