
Retrieving POST data
Toretrieve post data, you should use the function shown next. The first parameter is the name of the POST item that you are looking for.$this->input->post('some_field');
This function returns the item it if exists, and returns FALSE if it does not. The second function lets you run the data through the XSS filter without writing any more code. This is an easier way of running the XSS filter on a per-item basis.$this->input->post('some_field',...