filmov
tv
Complete Login & Registration System | PHP | MySQL | Session | PHP Tutorial | Yes I Can Do

Показать описание
#Login_System #PHP and #MySQL, #Complete_Registration_System With #Session #Yes_I_Can_Do
----------------------------------------------------------------------------------------------------------------------------------------
You Have to Create These, Step by Step Guide:
1. Database and Insert Table
2. Registration Form
3. Login Form
4. Connect to Database
5. Authentication
6. Index page
7. Dashboard Page
8. Logout
9. CSS File for Styling
Special Note: I gave Database, files, classes names from my own choice. you can change these names in your case.
1.Create a Database and Table
First, you have to create a database. So, Login in your Cpanel or localhost then goes to phpmyadmin. For create database go to to database section and type database name “register” and click on create.
After creating database successfully, Now create Database table, You can create table manually If you confuse about that. No Problem, Click on your Database named “register” then go “Query ” section paste this code and click on submit query.
SQL Query Code:
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`)
);
2.Connect To Database
3.Create Authentication File for Secure
4.Create Registration Page
Now you have to create a registration form. Basically, this form built-in HTML & CSS and functions are in PHP.
5.Create Login Page
6.Create an Index Page
7.Now Create a Dashboard Page
8.Create Logout File
9.Now Finally Give Style with CSS On This login PHP system
----------------------------------------------------------------------------------------------------------------------------------------
#pythonlearning #pythoncode #python3 #coder #learntocode #Tutorial
----------------------------------------------------------------------------------------------------------------------------------------
You Have to Create These, Step by Step Guide:
1. Database and Insert Table
2. Registration Form
3. Login Form
4. Connect to Database
5. Authentication
6. Index page
7. Dashboard Page
8. Logout
9. CSS File for Styling
Special Note: I gave Database, files, classes names from my own choice. you can change these names in your case.
1.Create a Database and Table
First, you have to create a database. So, Login in your Cpanel or localhost then goes to phpmyadmin. For create database go to to database section and type database name “register” and click on create.
After creating database successfully, Now create Database table, You can create table manually If you confuse about that. No Problem, Click on your Database named “register” then go “Query ” section paste this code and click on submit query.
SQL Query Code:
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`)
);
2.Connect To Database
3.Create Authentication File for Secure
4.Create Registration Page
Now you have to create a registration form. Basically, this form built-in HTML & CSS and functions are in PHP.
5.Create Login Page
6.Create an Index Page
7.Now Create a Dashboard Page
8.Create Logout File
9.Now Finally Give Style with CSS On This login PHP system
----------------------------------------------------------------------------------------------------------------------------------------
#pythonlearning #pythoncode #python3 #coder #learntocode #Tutorial