Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] My_Controller ?
#7

[eluser]solid9[/eluser]
Problem solved.

Solution,
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class MY_Primary extends CI_Controller
{
  function __construct()
  {
   parent::__construct();

  }
  
  function index()
  {
   echo 'Primary';
  }
  
  function play()
  {
   echo 'Hello Foot Ball';
  }
  
}

I have forgot this part,
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');





Messages In This Thread
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 05:56 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 06:02 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 06:06 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:02 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:18 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:36 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 10:58 PM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 11:55 AM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 11:57 AM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 12:03 PM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 04:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB