I’m trying to put differnt people names on this script so they see welcome text?
can you help?
[code]
A BASIC HTML FORM[/code] [php]<?PHP if (isset($_POST['Submit1'])) {$username = $_POST[‘username’];
$surname = $_POST[‘surname’];
echo $_POST[“username” ];
echo $_POST[“surname”];
if ($username == “letmein”) {
if ($surname == "elder")
print (“Welcome back, friend!”);
}
else {
print (“You’re not a member of this site”);
}
}
else {
$username ="";
}
?>[/php]
[code]
[/code]