Here it is, very simple:

PHP Code:
<?

// if $name doesn't exist, display the first page

if (!$name)

{

?>

<html>
<form method="POST" action="login.php">
So what's your name?
<input type="text" name="name" size="10">
<input type="submit" name="submit">
</form>
</html>

<?

}
else
{

// if $name does exist, the form has been submitted

switch ($name) {

case 
1"Luke"
echo("<center><b>Welcome Luke!</center></b>");
break;

case 
2"Neo":
echo(
"<center><b>Welcome to the Matrix!</center></b>");
break;

default:
echo(
"$name - Who are you?"); } }

?>
When I run it I get this error:

Parse error: parse error in /home/luchazard/www/login.php on line 30

Thanks in advance!