23 8 / 2011

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

Tags:

Permalink 39 notes