GET and POST Methods in CodeIgniter — a practical guide to CodeIgniter GET POST with clear examples you can reuse in real projects.
CodeIgniter Tutorial Series (22/74). Prefer one article? Read the complete CodeIgniter tutorial.
Short description
GET is for reading/filtering. POST is for submitting forms or creating resources. Validate both before trusting values.
Read GET/POST
$q = $this->request->getGet('q');
$name = $this->request->getPost('name');
$all = $this->request->getPost(); // array