You find here Codeigniter 4 tutorial videos or source code. Where you can learn Codeigniter 4 framework in easy way and get every Question's answer here.
2) Codeigniter 4 Insert Data in Database Using Model
View File Home.php is same you have to change in controller and add UserModel.php file.
Model - UserModel.php Location - app/Models/UserModel.php
<?php namespace App\Models;
use CodeIgniter\Model;
class UserModel extends Model
{
protected $table = 'fullname'; //table name
protected $allowedFields= ['name','surname','email','password']; //column name of table
}
?>
Library is also class. In Codeigniter class is called as library. On Codeigniter their are lots inbuilt libraries. All inbuilt library locates into System Folder. You can read also.
Codeigniter User guide show about library in if want you can read link https://codeigniter.com/userguide3/libraries/index.html
I have example shown below.
this->load->library('email');$this->email->from('your@example.com','Your Name');$this->email->to('someone@example.com');$this->email->cc('another@another-example.com');$this->email->bcc('them@their-example.com');$this->email->subject('Email Test');$this->email->message('Testing the email class.');$this->email->send();
If you are still confuse. This below video will helpbyou and show you detail of library of Codeigniter.
I created video on how to download and install Codeigniter in hindi. If you have any doubt please comment .
This video have solution for how to download Codeigniter and install in easy way. This tutorial will help you.
That is easiest and simplest way to install Codeigniter
I started new YouTube channel name is CS Krish.
It is related to web development tutorial. I created Codeigniter Tutorial for beginners step by step in hindi tutorial series. This series is from basic you will learn alot go and check l.
If you like my video. Click like button and subscribe my YouTube channel
Thank You.