How to create Form Login/Logout System with session in PHP+MySQL for Beginners
YouTube: / @kithsophal
Steps to Create Simple User Registration & Login Script in PHP and MySQLi
1. Create a Database
2. Create a Database Table with Following Five Fields:
id, username, email, password, trn_date
3. Create a Registration Form
4. Create a Login Form
5. Connect to the Database by using PHP
6. Authenticate Logged in User
7. Create Index Page
8. Create Dashboard Page
9. Create a Log Out
10. Create a CSS File
2. Creating a Database Table
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL,
`trn_date` datetime NOT NULL,
PRIMARY KEY (`id`)
);
Link to Website : https://www.allphptricks.com/simple-u...
Source Code: https://drive.google.com/open?id=1l-S...
Facebook: fb.com/sophal81/
Support My Channel
Do LIKE | COMMENT | SHARE | SUBSCRIBE