how to always show the end of an explode in php code example Example: php explode end $url = explode("/", URL::current()); echo end($url);