Skip to main content

Posts

Showing posts from April, 2022

Codeigniter Login Form using Ajax: Codeigniter Club

Codeigniter login form with validation using Ajax In this tutorial, we will understand how to create a simple login form using Codeigniter.  Create database table using Mysql database create login table in mysql database. Just copy paste query in Mysql database. CREATE TABLE `login` ( `id` int(11) NOT NULL, `user_id` int(25) NOT NULL, `session` varchar(10) NOT NULL, `system_ip` varchar(100) NOT NULL, `login_at` datetime NOT NULL DEFAULT current_timestamp(), `logout_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; Create view create a file in view folder with the name of  loginpage.php . <div class="container-scroller"> <div class="container-fluid page-body-wrapper full-page-wrapper"> <div class="content-wrapper d-flex align-items-center auth px-0"> <div class="row w-100 mx-0"> <div cl...