php explode end
snippet in php

php explode end

user3959

$url = explode("/", URL::current());
echo end($url);