- Seme Framework
- Credits
- Version 3.1.5
- Issue
- Deployment
Controller: Handling Form Input
Seme Framework comes with bultin onput manager which can handled $_POST, $_GET, and $_REQUEST. Here is the example
class Home extends SENE_Controller{
public function __construct(){
parent::__construct();
}
public function index(){
$input_get = $this->input->get('id'); //localhost/seme/?id=100
$input_post = $this->input->post('email'); //handling by form-data post
$input_request = $this->input->request('token'); //handling get or post form-data.
}
}