Out of curiosity, is there a way for php to output the names of the post variables? I know you can output the values using
foreach($_POST as $item) echo $item;
but I can't seem to find a way to echo the variable name.
Thanks Steve
Yeah just do this
var_dump($_POST);
Thanks a bunch! You had a typo, though. It's
var_dump($_post)
Steve
Nevermind! I guess I just can't read - sorry :quiet:
Thanks!
also look at [man]print_r[/man]
Yeah either one will work 🙂