How to get id from URL in codeigniter?
Check the below code hope that you get your parameter
echo $this->uri->segment('3');
if you have to pass the value you should enter url like this
localhost/yoururl/index.php/products_controller/delete_controller/70
and in controller function you can read like this
function delete_controller( $product_id = NULL ) { echo $product_id;}