Codeigniter Models

Codeigniter Models

Codeigniter (CI) - In any application you have to call a capacity to recover some data from the database. Models obligation is to deal with all information rationale and portrayal and load information in the perspectives. It is put away in application/models.
Models are stacked in the conntroller's document with the accompanying code $this->load->model('ModelName');

In the event that in the event that your model record is situated in sub-index of model organizer, then you need to specify the full way. For instance, if your document area is application/controller/models/ModelName. At that point, your record will be stacked as demonstrated as follows,

$this->load->model('ModelName');

Gatot

Penulis merupakan seorang IT profesional baik network engineer, software development(Delphi, Java, Android, iOS, PHP, NextJs, Golang, Flutter), System Analysis, SEO, database administrator, troubleshooting, dan juga content creator(facebook, youtube, atau tiktok). Tulisan merupakan bagian yang pernah dikerjakan dan dilakukan setiap hari.

Lebih baru Lebih lama

Contact