print all post input php code example
Example 1: get all post values in php
//Loop all POST values.
foreach ($_POST as $key => $value) {
echo "Field ".htmlspecialchars($key)." is ".htmlspecialchars($value)."<br>";
}
Example 2: var_dump _post php
<?php print_r($_POST); ?>