i'm making a project in PHP and i have a problem. My problem is that i don't know how to get a variable's name in $_GET foreach loop. My code looks like this:
foreach($_GET as $get) {
$v_name = //I want to be this variable the $get variable's name
}
So example: if someone make a post request like this: http://www.example.com/?something=example
In this case i want to get the "something".
Thanks everyone who will help me - Jumpak