For smart Primates & ROBOTS (oh and ALIENS ).

Saturday, October 05, 2013

Use value in index method in Codeigniter

Use value in index method in Codeigniter

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

class Category extends CI_Controller {
    public function index($param)
    {
        echo $param;
        $this->load->view('category_
message');
    }
    public function _remap($param) {
        $this->index($param);
    }
}

use is as:
http://localhost:90/CodeIgniter_2.1.4/category/laptop
Share:

0 comments:

Post a Comment

Featured Post

Core Web Vitals Assessment showing LCP 10.6s while google pagespeed report showing LCP 3.5s why?

Core Web Vitals Assessment showing LCP 10.6s while google pagespeed report showing LCP 3.5s why? So, you can face this situation while...

Ads Inside Post

Powered by Blogger.

Arsip

Blog Archive