My code:
$url = "https://www.example.com/reset_password/6f88e62e492ed288200b99b09f6d8132";
$para = $this->uri->segment($url);
echo $para;
In this code I only want the parameter that is passed in the url i.e 6f88e62e492ed288200b99b09f6d8132
but it's not working. How can I get only the parameter in php?