Answers for "php show post variables"

PHP
0

get all post values in php

//Loop all POST values.
foreach ($_POST as $key => $value) {
    echo "Field ".htmlspecialchars($key)." is ".htmlspecialchars($value)."<br>";
}
Posted by: Guest on August-08-2020
2

var_dump _post php

<?php print_r($_POST); ?>
Posted by: Guest on April-12-2020

Browse Popular Code Answers by Language