-
Video : Codeigniter 4 downloading and installing in Hindi
-
Video : Codeigniter 4 installing composer in Hindi
-
Video : Codeigniter 4 folder structure or App structure in Hindi
-
Video : Codeignter 4 desing patters for software in Hindi
-
Video : Codeignter 4 spark in Hindi
-
Video : Codeignter 4 model view controller (MVC) in Hindi
-
Video : Codeignter 4 how URL works in Hindi
-
Video : Codeigniter 4 remove the public folder and Index.php from url in Hindi
-
Video : Codeignter 4 how to create the controllers in Hindi
-
Video : How to create a view in Codeigniter 4 in Hindi
-
Video : How to create the model and pass the values from the controller to model in Hindi
-
Video : Codeigniter 4 Introduction to Codeigniter in Hindi
-
Video : Codeigniter 4 what are builtin helpers and what are custom helpers in Hindi
-
Video : Codeignter 4 form helper in Hindi
-
Video : Codeignter 4 URL helper in Hindi
-
Video : Downloading the latest version of Codeigniter 4 in Hindi
-
Video : Inflector helpers in Codeigniter 4 in Hindi
-
Video : Number helper in Codeigniter 4 in Hindi
-
Video : String helper in Codeigniter 4 in Hindi
-
Video : XML helper in Codeigniter 4 in Hindi
-
Video : HTML helper in Codeigniter 4 in Hindi
-
Video : Date helper in Codeigniter 4 in Hindi
Connecting with database in Codeigniter 4
Please Login and enroll in this course to view the lesson.
- How to connect your database with your application in Codeigniter 4?
- How to connect the database in Codeigniter 4
- What is Modeling Data in Codeigniter 4?
- How to use Entity Classes in Codeigniter 4?
Well, these are the points we are going to cover in this video.
First, Create your database; in my case, I have to create the database named ci4urdu; once you create the database, then go to the app/config/Database.php file and open it, use the code below code.
public $default = [
'DSN' => '',
'hostname' => 'localhost',
'username' => 'root',
'password' => '',
'database' => 'ci4urdu',
'DBDriver' => 'MySQLi'
];
That's it :)