Hello i made a login page that redirects to the main page when you log in i was going to have it say “Hello,$Username” I tried to include the login.php but it didnt know what $Username was wondering how i could transfer the value the user put in as $Username to the other page sorry if this question is to noobish
This is a basic form and response - and i do mean basic.
Here is just a normal form
form.html
[code]
Here is a response. (needs more work to be used on live site!)
response.php
[php]<?php
if(isset($_POST[‘username’])) {
$username = $_POST[‘username’];
}
echo $username;
?>[/php]
That’s basically how it works, hope that helps,
Red