I got a problem on create a function that calling a function (index function). For ease of understanding let me explain it:
class My_Controller extends CI_Controller{
public function index(){
echo 'This is index function';
}
public function calling_index(){
// doing what's inside the index() function
}
}
Any suggestion ?
$this->index()?