How to print array keys like $ _POST in PHP?
8 answers
See the PHP documentation for foreach: http://php.net/manual/en/control-structures.foreach.php
Your code will look something like this:
foreach ($_POST as $key=>$element) {
echo $key."<br/>";
}
+3