Need help with html coding, creating a username and password form!

Discussion in 'HTML & Website Design' started by Magestry, May 12, 2008.

  1. #1
    Hello please help me,
    I am making a website via notepad and i have got most of my web pages done but I do not know how to do the Login form, Signup and so on. Do i need microsoft access to do this? If so is the code to connect my website to it?
     
    Magestry, May 12, 2008 IP
  2. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #2
    I suggest using a MySQL database for your accounts. You will also need to use a server side language such as PHP to deal with the data collected by the forms and put them into the database.

    Start with this.

    Put this on your html page. This will be the form they can sign up on.
    
    <form action="forms.php" method="post">
    	Your Name: <input type="text" name="name" /><br/>
    	Your Email: <input type="text" name="email" /><br/>
    	Your Password: <input type="password" name="pass1" /><br/>
    	<input type="reset" value="Reset Form"/>
    	<input type="submit" value="Register" name="reg" />
    </form>
    
    HTML:
    And here is the login form
    
    <form action="forms.php" method="post">
    	Email: <input type="text" name="email" /><br/>
    	Password: <input type="password" name="pass"><br/>
    	<input type="submit" value="Login" name="login"/>
    </form>
    
    HTML:
    once you get that far pm me and I will write up your php and mysql stuffs.
     
    crath, May 12, 2008 IP