Print the keys of an array
You can use PHP’s array_keys function to grab the keys, like so: foreach(array_keys($parameters) as $paramName) echo $paramName . “<br>”; Or, you can run through the array using a special foreach which allows you to separate the key and value for every element, like so: foreach($parameters as $paramName => $value) echo $paramName . “<br>”; Also, make … Read more