CI_Input::post_get()

post_get($index[, $xss_clean = NULL])

Parameters:
  • $index (string) – POST/GET parameter name
  • $xss_clean (bool) – Whether to apply XSS filtering
Returns:

POST/GET value if found, NULL if not

Return type:

mixed

This method works pretty much the same way as post() and get(), only combined. It will search through both POST and GET streams for data, looking in POST first, and then in GET:

$this->input->post_get('some_data', TRUE);
doc_CodeIgniter
2016-10-15 16:31:40
Comments
Leave a Comment

Please login to continue.