1.

Solve : help me guys to put up a input/login tag plzzzzzzzzzz?

Answer»

hello!
i m new here
i facing a problem wid HTML,
i wanna put a login codes so that the user have to just put his ID, for example user enters- "sam"
so the page to be opened up should be "sam.html"
plzz GUYS help me ...
its now all up to u dudes.....................HELPPPPPPPPPP PPPPPPPP I dont think you can use HTML but you can use PHP to do it:

This is the form on the login page:
CODE: [Select]<html>
<head>
</head>
<body>
<form action="page2.php" method="POST">
<input type="text" name="id" />
</form>
</body>
</html>

This is 'page2.php":
Code: [Select]<html>
<head>
<title><?PHPECHO$_POST["id"];?></title>
</head>
<body>
</body>
</html>

I think that should work.



Discussion

No Comment Found