1. CodeIgniter Routes and URI segment

    $route[‘promotion/(:num)/(:num)/share’] = “promotion_detail/share/$1/$2”;

    $this->uri->segment(2) = $1

    $this->uri->segment(3) = $2

     
  1. programmingnotes posted this