Query Builder Class¶
CodeIgniter gives you access to a Query Builder class. This pattern
allows information to be retrieved, inserted, and updated in your
database with minimal scripting. In some cases only one or two lines
of code are necessary to perform a
How can I check if request was a POST or GET request in codeigniter?
1 2 3 4 |
if ($this->input->server('REQUEST_METHOD') == 'GET') //its a get else if ($this->input->server('REQUEST_METHOD') == 'POST') //its a post |