i saw this function 'is_post' at this website:
class MY_Controller extends CI_Controller
{
public function is_post()
{
return $_SERVER['REQUEST_METHOD'] == 'POST' ? TRUE : FALSE;
}
}
May i know the correct way to use this function and how? thanks. regards, zs