2. Introduction
CodeIgniter:
Helps builds PHP applications based on
the MVC structure
Contains system and application folders;
application folder contains
models, views, and controllers folders
6. Controllers (Contd)
Call echo() to display data
Put your data into an array
Call $this->load->view() to display a
view
Load C.I. functions:
Alternative to autoload
$this->load->helper()
$this->load->library()
11. Database Library
Generally called from a model class as
$this->db->function_name
Functions:
get(table_name, limit, offset)
insert(table_name, model)
insert_id()
where(column_name, value)
update(table_name, model)
delete(table_name)
count_all(table_name)
12. For more, reach me at...
WWW: nitinkatkam.com
Blog: n4express.com
Email: k_nitin_r [at] yahoo.co.in