How can i print $_POST?
$_POST
Example:
echo $_POST['data'];
This does not return anything ...
You can also wrap your code with tags <pre>to print an array better than 1 continuous line. The trick that was shown by the participant on this site.
<pre>
<pre> <?php var_dump($_POST); ?> </pre>
The correct code.
You can use either:
var_dump($_POST);
or
print_r($_POST);
to print the entire POST array for debugging.
. array_keys() , , . , , , .
array_keys()