0% found this document useful (0 votes)
14 views5 pages

Lecture

1. The document describes the steps to connect a login form to a MySQL database. 2. Key steps include creating a login form, creating a database table with username and password fields, setting up the SQL server, and creating a database and table within phpMyAdmin. 3. When a user successfully logs in, their data will be stored in the database table.

Uploaded by

sana saeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

Lecture

1. The document describes the steps to connect a login form to a MySQL database. 2. Key steps include creating a login form, creating a database table with username and password fields, setting up the SQL server, and creating a database and table within phpMyAdmin. 3. When a user successfully logs in, their data will be stored in the database table.

Uploaded by

sana saeed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Designing of the project

Designing the login form and connection to Database


Follow all of these steps to connect login form with MySQL database
1. Creating a login form using HTML, CSS, and PHP.

2. Create a Database table using MySQL


 When you are creating a database a structure like this:

Username Password

Alice 1234

Stefen 9330

3. Now start your SQL Wamp server and select admin. This will direct you to
the phpMyAdmin webpage. Now, log in with your username and password.

 Now, on the MyPHPAdmin, create a new database by clicking "New" on the


left-hand side of a webpage.
4. Next, enter a name for the database where it says "Create database".
5. Then, you will be directed to the next page where you will create a new
table. Now, enter the desired table name.

6. These fields are columns. Fields names are username, password. You can
also assign primary key here.

7. Database table is created now and it will look like this:

8. When user will successfully login then user data will be stored in database.
Roles in project Example:
“Online voting system”
1. Administration
2. Voters
3. Party members(candidates)
“Online shopping system”
1. Online visitors
2. Administration
System functional Requirements:
Example: “Online voting system”
1. User interface
2. The system must allow users to log into their account by entering their email
and password.
3. The system must allow users to log in with their Google accounts.
 The system must allow users to reset their password by clicking on "I forgot
my password" and receiving a link to their verified email address.
Non-functional requirement:
1. "When the submit button is pressed, the confirmation screen must load
within 2 seconds."
2. Availability of website
3. Mobility
“ATM Machine” Functional Requirements:
1. Card insertion
2. User interface (amount credit, debit , funds transfer options)
3. Dispense cash
Non-functional requirements:
1. Reliability
2. Availability
3. Generating receipt
System attributes according to your project:
Example: “Online voting system”
1. Convenience
2. Accuracy
3. Voters confirmation
4. Mobility
5. Eligibility
6. Uniqueness
7. Transparency

You might also like