In the address bar, i am getting the clean URL. I want to parsed it out.please
help me out.

http://example.com/folder/test.php?stuid=xx44

Recommended Answers

You can use parse_url function: http://php.net/manual/en/function.parse-url.php
bye.

Jump to Post

All 3 Replies

or you could just use the builtin $_GET array. in your example it would be:

$_GET['stuid'];

what do you mean by parsed out? you mean how to get the value? then use @hag++ code, use $_GET

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.