Skip to content

Commit 91854e1

Browse files
authored
Update README.md
1 parent e2a693d commit 91854e1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,13 @@ A simple PHP authentication system with password hashing. This project is suitab
1515

1616
## Installation
1717
1. Change the login credentials for the database in the config.php file.
18-
2. Dashboard.php only has a sample page where you can only log in with an account. If there is another insert <?php include 'isnotlogged.php' ?>
18+
```sql
19+
CREATE TABLE users (
20+
id SERIAL PRIMARY KEY, -- Auto-incrementing primary key for each user
21+
session VARCHAR(255), -- Session information, to manage user sessions
22+
name VARCHAR(255) NOT NULL, -- User's name, cannot be null
23+
password VARCHAR(255) NOT NULL -- User's password, cannot be null
24+
);
25+
```
26+
27+
3. Dashboard.php only has a sample page where you can only log in with an account. If there is another insert <?php include 'isnotlogged.php' ?>

0 commit comments

Comments
 (0)