In my codeigniter code there is a php controller Product.
<?php
class Product extends CI_Controller
{
function index($product_id)
{
......
....
}
}
what is the link of this function. I try localhost/demo/product/index/2
here 2
is product_id
,demo
is project_name
. But this link does not work?