[eluser]reidz[/eluser]
i want to ask how to handle request to function which do not show anyting to controller
Code:
class Example extends Controller
{
function Example()
{
parent::Controller();
}
function index()
{
$this->load->view('some_view');
}
function do_nothing()
{
}
}
with this Controller, when i type this
localhost/index.php/example/do_nothing on my address bar, the result is just blank page, because that function do_nothing do not called any view
so all im asking is how we handle this kind situation ? cause i dont want to display any blak page