Database connectivity in CodeIgniter with example and code
Technology 0 CommentsThe first creates the database in Mysql and another database . File path and folder path is database.php : application\config.php Database.php ‘hostname’ => ‘localhost’, ‘username’ => ‘root’, write username ‘password’ => ”, write password ‘database’ => ‘codignater’, write Database ‘dbdriver’ => ‘mysqli’, Crate a users.php file in controller folder and create controller <?php defined(‘BASEPATH’)