I want to make a form that has a user option like
<form action="example.html" method="POST">
<input type="text" name='username'>
that code, but when I put the name or username into the space and click submit and it sends me to the example.html. I want it to show the username typed in, like it copies it from the form and pastes it in the next page, can someone tell me the code to do this? this is my code right now:
<?php
$username = $_POST ['username'];
?>
Thank you $username, for testing out our login system
<br>
<a href="index.html">Home</a>
<form action="example.html" method="POST">
<input type="text" name='username'>
that code, but when I put the name or username into the space and click submit and it sends me to the example.html. I want it to show the username typed in, like it copies it from the form and pastes it in the next page, can someone tell me the code to do this? this is my code right now:
<?php
$username = $_POST ['username'];
?>
Thank you $username, for testing out our login system
<br>
<a href="index.html">Home</a>