How to get the first parameter in php?
HUANG
HUANG 2021-04-19 10:35:56
0
3
1326

Big guys

The URL link is as follows https://www.baidu.cn/?d&b_scene_zt=1&renqun_youhua=375297

How to Get the first one? What about the following parameters

HUANG
HUANG

reply all (2)
对方正在输入....

$test = parse_url("http://localhost/index.php?name=tank&sex=1#top");print_r($test);

试试

    灭绝师太

    试一下

    $url = "https://www.baidu.cn/?d&b_scene_zt=1&renqun_youhua=375297";echo parse_url($url)['query'];$str = explode("&",parse_url($url)['query']);

    echo '

    '.print_r($str,true).'';

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!