php help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
noriko94
Forum Newbie
Posts: 3
Joined: Sat May 02, 2009 11:20 pm

php help

Post by noriko94 »

creat signon.php, contains a form for entering usernam and passwprd with submit botton and cancel buttons
harlemblues
Forum Newbie
Posts: 3
Joined: Sat May 02, 2009 11:19 pm

Re: php help

Post by harlemblues »

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.
mickd
Forum Contributor
Posts: 397
Joined: Tue Jun 21, 2005 9:05 am
Location: Australia

Re: php help

Post by mickd »

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.

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
 
}
 
noriko94
Forum Newbie
Posts: 3
Joined: Sat May 02, 2009 11:20 pm

Re: php help

Post by noriko94 »

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

Post by harlemblues »

It is already included ;)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: php help

Post by Benjamin »

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.
Post Reply