6. As you can see, the database named section is created. Now click the
database section
7. 1.
2.
3.
4.
By clicking section name we automatically making a new table
Input name as login
Input number of columns as 3
Then click Go
8. 1.
Input the following data:
Name
id
INT
username
VARCHAR
35
password
2.
Type
Length/Values
VARCHAR
Index
AI
PRIMARY
YES(Check)
35
Click Save
Note: That Auto-increment allows a unique number to
be generated when a new record is inserted into a
table.
9.
10. This is the sample DATABASE and TABLE we have crated
Lets add data’s by clicking insert
11. 1.
2.
Fill data needed (username & password)
Click Go
Note: We leave “id” since its on AI(auto increment)
15. Create a PHP file save as chngpaswd.php
Note: Save to folder xampphtdocssection
16.
17.
18. Test files:
● Open the browser and type the URL
localhost/section/chngpaswd.php
Old Password does not match!
New Password does not match!
Password has been Changed