Function getV($url){ $id = substr($url,strpos($url,'?')+1); return $id; } $id = getV(“http://localhost/www.php.net/index.php?id=2”); Echo $id; ?> 运行结果是:____
Function getV($url){ $id = substr($url,strpos($url,'?')+1); return $id; } $id = getV(“http://localhost/www.php.net/index.php?id=2”); Echo $id; ?> 运行结果是:____
发布时间:2024-10-22 22:41:15