get all post values in php
snippet in php

get all post values in php

user5940

//Loop all POST values.
foreach ($_POST as $key => $value) {
    echo "Field ".htmlspecialchars($key)." is ".htmlspecialchars($value)."<br>";
}