Answers for "php check what id is used in url"

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