Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more: (untagged)
Translate says:
"
I nk ask why when I enter username and password, ...He did not get out my username and password I
"


HTML
<html>
    <head>
        <title>My first PHP website</title>
    </head>
    <body>
        Registration Page
        Click here to go back
        <form action="register.php" method="post">
            Enter Username: <input type="text" name="xtian" required="required"/> 
            Enter Password: <input type="password" name="123456" required="required" /> 
            <input type ="submit" value="Register"/>
        </form>
    </body>
</html>
Posted
Updated 8-Apr-15 17:13pm
v3
Comments
PIEBALDconsult 8-Apr-15 23:14pm    
Please use Improve question to add detail and context. And please use English as best you can.

1 solution

See here: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_input_submit

The name tag is just a description, the value tag is where the actual username and password should be. PHP should get the values entered into the form.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900