Today i will tell you how to create a login system with PHP.
Okay let's get started.
First watch this video to get a idea.
Okay now first create a database named "demo".
Then add this code into the SQL console.
CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(50) NOT NULL, `password` varchar(255) NOT NULL, `created_at` datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
That's all download this file and extract to the location you want to execute the login system .