删除ID我有这样获取URL,并从中
url:- url.php?gender=male&&grand=brand1&&id=$id
eg. $id may be 1, 100 ,23, 1000 any number
我正在使用
<?php echo $_SERVER['REQUEST_URI']; ?>
URL是有可能改变的ID,使URL像
一个网址url:- url.php?gender=gender&&brand=brand1&&id=$newId
where $newId can be any number except the one that is present in the url
感谢它禾像魅力一样 – lazyme114