Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Commit eb14c4d

Browse files
authored
v2.1 - Add database query
1 parent 7fac61d commit eb14c4d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@
44

55
1. Clone this repository with `git clone https://github.com/Slddev/php-fileuploader`.
66
2. Upload files to webserver.
7-
3. Set database info in `config.php`
8-
4. Test it.
7+
3. Execute this database query:
8+
```CREATE TABLE users (
9+
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
10+
username VARCHAR(50) NOT NULL UNIQUE,
11+
password VARCHAR(255) NOT NULL,
12+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
13+
);
14+
```
15+
4. Set database info in `config.php`
16+
5. Test it.
917

1018
## Notes
1119

0 commit comments

Comments
 (0)