Answers for "get id from current url for php"

0

get id from current url for php

$path = parse_url($url, PHP_URL_PATH);
$pathFragments = explode('/', $path);
$end = end($pathFragments);
Posted by: Guest on May-21-2021

Browse Popular Code Answers by Language