php help
Moderator: General Moderators
-
harlemblues
- Forum Newbie
- Posts: 3
- Joined: Sat May 02, 2009 11:19 pm
Re: php help
Code: Select all
<html>
<body>
<form method="POST" action="signon.php">
<label>Username:</label><input type="text" name="user"><br>
<br>
<label>Password:</label><input type="password" name="pass"><br>
<br>
<input type="reset" value="Cancel">
<input type="submit" value="Submit">
</form>
</body>
</html>
Last edited by Benjamin on Sat May 09, 2009 10:00 am, edited 1 time in total.
Reason: Changed code type from text to html.
Reason: Changed code type from text to html.
Re: php help
Is this a PHP question?
If you meant to ask about how to actually do stuff with the information, the answer lies with PHP! Here is a bit to get you started.
If you meant to ask about how to actually do stuff with the information, the answer lies with PHP! Here is a bit to get you started.
Code: Select all
if(isset($_POST['signup'])) {
$username = $_POST['username'];
//etc
// putting them into a database needs you to learn about sql
//start learning :) any questions, or if you get stuck, ask here
}
Re: php help
ADD; the pass word field shall obscure the characters type by the user
-
harlemblues
- Forum Newbie
- Posts: 3
- Joined: Sat May 02, 2009 11:19 pm
Re: php help
It is already included 
Re: php help
Come on guys. This forum is for helping people, not requesting code that others shall write for you. Let's show some effort here.
@noriko94, why not post what you have tried and let us know where you are stuck? Also, use more descriptive subjects from now on.
@noriko94, why not post what you have tried and let us know where you are stuck? Also, use more descriptive subjects from now on.